Lines Matching +full:panda +full:- +full:options
7 * http://www.apache.org/licenses/LICENSE-2.0
18 #include "options.h"
21 #include <assembly-emitter.h>
24 namespace panda::proto { namespace
49 auto options = std::make_unique<Options>(); in Run() local
50 if (!options->Parse(argc, argv)) { in Run()
51 std::cerr << options->ErrorMsg() << std::endl; in Run()
55 std::string protoPathInput = options->protoPathInput(); in Run()
56 std::string protoBinSuffix = options->protoBinSuffix(); in Run()
57 std::string outputFilePath = options->outputFilePath(); in Run()
59 outputFilePath = panda::os::file::File::GetExecutablePath().Value(); in Run()
67 panda::ArenaAllocator allocator(panda::SpaceType::SPACE_TYPE_COMPILER, nullptr, true); in Run()
69 std::vector<panda::pandasm::Program *> programs; in Run()
72 auto *prog = allocator.New<panda::pandasm::Program>(); in Run()
81 std::string outputFileName = outputFilePath.append(panda::os::file::File::GetPathDelim()). in Run()
82 append(options->outputFileName()); in Run()
83 …if (!panda::pandasm::AsmEmitter::EmitPrograms(panda::os::file::File::GetExtendedFilePath(outputFil… in Run()
90 } // namespace panda::proto
94 panda::proto::ProtoMemManager mm; in main()
95 return panda::proto::Run(argc, argv); in main()