/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/ |
H A D | llvm-tapi-diff.cpp |
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-modextract/ |
H A D | llvm-modextract.cpp | 51 ExitOnError ExitOnErr("llvm-modextract: error: "); in main() local 54 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(InputFilename))); in main() 55 std::vector<BitcodeModule> Ms = ExitOnErr(getBitcodeModuleList(*MB)); in main() 68 ExitOnErr(errorCodeToError(EC)); in main() 81 std::unique_ptr<Module> M = ExitOnErr(Ms[ModuleIndex].parseModule(Context)); in main()
|
/freebsd/contrib/llvm-project/llvm/tools/lli/ChildTarget/ |
H A D | ChildTarget.cpp | 27 ExitOnError ExitOnErr; 42 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 53 ExitOnErr(SimpleRemoteEPCServer::Create<FDSimpleRemoteEPCTransport>( in main() 65 ExitOnErr(Server->waitForDisconnect()); in main() 28 ExitOnError ExitOnErr; global() variable
|
/freebsd/contrib/llvm-project/llvm/tools/lli/ |
H A D | lli.cpp | 283 ExitOnError ExitOnErr; variable 426 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main() 441 ExitOnErr(loadDylibs()); in main() 473 ExitOnError ExitOnErr(std::string(*argv) + in main() local 475 ExitOnErr(Mod->materializeAll()); in main() 709 std::unique_ptr<orc::ExecutorProcessControl> EPC = ExitOnErr(launchRemote()); in main() 716 auto RemoteMM = ExitOnErr( in main() 726 ExitOnErr(RemoteResolver::Create(*EPC))); in main() 735 Result = ExitOnErr(EPC->runAsMain(Entry, {})); in main() 746 ExitOnErr(EPC->disconnect()); in main() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 164 static ExitOnError ExitOnErr; variable 169 ExitOnErr.setBanner(std::string(argv[0]) + ": error: "); in main() 199 BitcodeFileContents IF = ExitOnErr(llvm::getBitcodeFileContents(*MB)); in main() 212 M = ExitOnErr( in main() 215 ExitOnErr(M->materializeMetadata()); in main() 217 ExitOnErr(M->materializeAll()); in main() 220 BitcodeLTOInfo LTOInfo = ExitOnErr(MB.getLTOInfo()); in main() 223 Index = ExitOnErr(MB.getSummary()); in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerUtilFuchsia.cpp | 62 void ExitOnErr(zx_status_t Status, const char *Syscall) { in ExitOnErr() function 281 ExitOnErr(_zx_task_create_exception_channel( in CrashHandler() 285 ExitOnErr(_zx_object_signal(SignalHandlerEvent, 0, ZX_USER_SIGNAL_0), in CrashHandler() 312 ExitOnErr(_zx_channel_read(Channel.Handle, 0, &ExceptionInfo, in CrashHandler() 331 ExitOnErr(_zx_exception_get_thread(Exception.Handle, &Thread.Handle), in CrashHandler() 335 ExitOnErr(_zx_thread_read_state(Thread.Handle, ZX_THREAD_STATE_GENERAL_REGS, in CrashHandler() 367 ExitOnErr( in CrashHandler() 374 ExitOnErr(_zx_object_set_property(Exception.Handle, ZX_PROP_EXCEPTION_STATE, in CrashHandler() 417 ExitOnErr(_zx_event_create(0, &SignalHandlerEvent), "_zx_event_create"); in SetSignalHandler() 422 ExitOnErr(Status, "_zx_object_wait_one"); in SetSignalHandler()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-link/ |
H A D | llvm-link.cpp | 144 static ExitOnError ExitOnErr; variable 169 ExitOnErr(Result->materializeMetadata()); in loadFile() 187 ExitOnErr(ArchiveOrError.takeError()); in loadArFile() 246 ExitOnErr(std::move(Err)); in loadArFile() 325 ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex)); in importFunctions() 333 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Identifier))); in importFunctions() 393 ExitOnErr(Importer.importFunctions(DestModule, ImportList)); in importFunctions() 410 ExitOnErr(createStringError(EC, "No such file or directory: '%s'", in linkFiles() 414 ExitOnErr(errorOrToExpected(std::move(BufferOrErr))); in linkFiles() 439 ExitOnErr(llvm::getModuleSummaryIndexForFile(SummaryIndex)); in linkFiles() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-bcanalyzer/ |
H A D | llvm-bcanalyzer.cpp | 108 ExitOnError ExitOnErr("llvm-bcanalyzer: "); in main() local 110 std::unique_ptr<MemoryBuffer> MB = ExitOnErr(openBitcodeFile(InputFilename)); in main() 113 BlockInfoMB = ExitOnErr(openBitcodeFile(BlockInfoFilename)); in main() 126 ExitOnErr(BA.analyze( in main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | llvm-pdbutil.cpp | 770 static ExitOnError ExitOnErr; 779 ExitOnErr(createFileError(Path, errorCodeToError(ErrorOrBuffer.getError()))); in yamlToPdb() 793 ExitOnErr(Builder.initialize(BlockSize)); in yamlToPdb() 801 ExitOnErr(Builder.getMsfBuilder().addStream(0)); in yamlToPdb() 836 auto &ModiBuilder = ExitOnErr(DbiBuilder.addModuleInfo(MI.Mod)); in yamlToPdb() 840 ExitOnErr(DbiBuilder.addModuleSourceFile(ModiBuilder, S)); in yamlToPdb() 853 auto CodeViewSubsections = ExitOnErr(CodeViewYAML::toCodeViewSubsectionList( in yamlToPdb() 880 ExitOnErr(Builder.commit(opts::yaml2pdb::YamlPdbOutputFile, &IgnoredOutGuid)); in yamlToPdb() 884 ExitOnErr(loadDataForPDB(PDB_ReaderType::Native, Path, Session)); 896 ExitOnErr( in pdb2Yaml() 772 static ExitOnError ExitOnErr; global() variable [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | InitLLVM.cpp | 69 ExitOnError ExitOnErr(Banner); 73 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDERR_FILENO))); 74 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDOUT_FILENO))); 88 ExitOnError ExitOnErr(Banner); 90 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc))); 51 ExitOnError ExitOnErr(Banner); InitLLVM() local
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-lto/ |
H A D | llvm-lto.cpp | 382 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': "); in printIndexStats() local 384 ExitOnErr(getModuleSummaryIndexForFile(Filename)); in printIndexStats() 435 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename.str() + in loadFile() local 437 return ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename))); in loadFile() 493 ExitOnError ExitOnErr("llvm-lto: error loading file '" + Filename + "': "); in createCombinedModuleSummaryIndex() local 495 ExitOnErr(errorOrToExpected(MemoryBuffer::getFileOrSTDIN(Filename))); in createCombinedModuleSummaryIndex() 496 ExitOnErr(readModuleSummaryIndex(*MB, CombinedIndex)); in createCombinedModuleSummaryIndex() 560 ExitOnError ExitOnErr("llvm-lto: error loading file '" + ThinLTOIndex + in loadCombinedIndex() local 562 return ExitOnErr(getModuleSummaryIndexForFile(ThinLTOIndex)); in loadCombinedIndex() 566 ExitOnError ExitOnErr("llvm-lto: error loading input '" + in loadInputFile() local [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llc/ |
H A D | NewPMDriver.cpp | 89 static llvm::ExitOnError ExitOnErr; variable 151 ExitOnErr(PB.parsePassPipeline(MPM, PassPipeline)); in compileModuleWithNewPM() 161 ExitOnErr(LLVMTM.buildCodeGenPipeline( in compileModuleWithNewPM()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-remarkutil/ |
H A D | RemarkUtil.cpp | 16 ExitOnError ExitOnErr; 39 ExitOnErr.setBanner(std::string(argv[0]) + ": error: "); 40 ExitOnErr(handleSubOptions()); 29 static ExitOnError ExitOnErr; global() variable
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-extract/ |
H A D | llvm-extract.cpp | 279 ExitOnError ExitOnErr(std::string(*argv) + ": error reading input: "); in main() local 291 ExitOnErr(F->materialize()); in main() 309 auto Materialize = [&](GlobalValue &GV) { ExitOnErr(GV.materialize()); }; in main() 346 ExitOnErr(M->materializeAll()); in main()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 148 ExitOnError ExitOnErr; variable 237 ExitOnErr(std::move(Err)); in findSymbol() 239 ExitOnErr(make_error<StringError>("Could not find definition for \"" + in findSymbol() 663 ExitOnErr(getSectionId(FileToSecIDMap, FileName, SectionName)); in applySpecificSectionMappings() 1031 ExitOnErr.setBanner(std::string(argv[0]) + ": "); in main()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | WholeProgramDevirt.cpp | 977 ExitOnError ExitOnErr("-wholeprogramdevirt-read-summary: " + ClReadSummary + in runForTesting() local 980 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary))); in runForTesting() 984 ExitOnErr(checkCombinedSummaryForTesting(Summary.get())); in runForTesting() 990 ExitOnErr(errorCodeToError(In.error())); in runForTesting() 1003 ExitOnError ExitOnErr( in runForTesting() local 1008 ExitOnErr(errorCodeToError(EC)); in runForTesting() 1012 ExitOnErr(errorCodeToError(EC)); in runForTesting()
|
H A D | LowerTypeTests.cpp | 1870 ExitOnError ExitOnErr("-lowertypetests-read-summary: " + ClReadSummary + in runForTesting() local 1873 ExitOnErr(errorOrToExpected(MemoryBuffer::getFile(ClReadSummary))); in runForTesting() 1877 ExitOnErr(errorCodeToError(In.error())); in runForTesting() 1889 ExitOnError ExitOnErr("-lowertypetests-write-summary: " + ClWriteSummary + in runForTesting() local 1893 ExitOnErr(errorCodeToError(EC)); in runForTesting()
|