Lines Matching +full:panda +full:- +full:options
7 * http://www.apache.org/licenses/LICENSE-2.0
17 #include "options.h"
20 #include <assembly-emitter.h>
23 namespace panda::proto { namespace
48 auto options = std::make_unique<Options>(); in Run() local
49 if (!options->Parse(argc, argv)) { in Run()
50 std::cerr << options->ErrorMsg() << std::endl; in Run()
54 std::string protoPathInput = options->ProtoPathInput(); in Run()
55 std::string protoBinSuffix = options->ProtoBinSuffix(); in Run()
56 std::string outputFilePath = options->OutputFilePath(); in Run()
58 outputFilePath = panda::os::file::File::GetExecutablePath().Value(); in Run()
66 panda::ArenaAllocator allocator(panda::SpaceType::SPACE_TYPE_COMPILER, nullptr, true); in Run()
68 std::vector<panda::pandasm::Program *> programs; in Run()
71 auto *prog = allocator.New<panda::pandasm::Program>(); in Run()
80 std::string outputFileName = outputFilePath.append(panda::os::file::File::GetPathDelim()). in Run()
81 append(options->OutputFileName()); in Run()
82 …if (!panda::pandasm::AsmEmitter::EmitPrograms(panda::os::file::File::GetExtendedFilePath(outputFil… in Run()
89 } // namespace panda::proto
93 panda::proto::ProtoMemManager mm; in main()
94 return panda::proto::Run(argc, argv); in main()