Home
last modified time | relevance | path

Searched refs:exitWithError (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DErrorHandling.h21 [[noreturn]] inline void exitWithError(const Twine &Message,
33 [[noreturn]] inline void exitWithError(std::error_code EC,
35 exitWithError(EC.message(), Whence);
38 [[noreturn]] inline void exitWithError(Error E, StringRef Whence) { in exitWithError() function
39 exitWithError(errorToErrorCode(std::move(E)), Whence); in exitWithError()
46 exitWithError(EO.takeError(), std::forward<Ts>(Args)...); in unwrapOrError()
H A Dllvm-profgen.cpp97 exitWithError(Msg); in validateCommandLine()
103 exitWithError(Msg); in validateCommandLine()
115 exitWithError(Msg); in validateCommandLine()
119 exitWithError("Value of --compress-recursion should >= -1"); in validateCommandLine()
122 exitWithError("--show-source-locations should work together with " in validateCommandLine()
H A DProfiledBinary.cpp67 exitWithError(Error, Obj->getFileName()); in getTarget()
196 exitWithError("not a valid Elf image", Path); in load()
201 exitWithError("unsupported target", TheTriple.getTriple()); in load()
312 exitWithError("no executable segment found", FileName); in setPreferredTextSegmentAddresses()
372 exitWithError( in decodePseudoProbe()
532 exitWithError("no register info for target " + TripleName, FileName); in setUpDisassembler()
537 exitWithError("no assembly info for target " + TripleName, FileName); in setUpDisassembler()
543 exitWithError("no subtarget info for target " + TripleName, FileName); in setUpDisassembler()
555 exitWithError("no disassembler for target " + TripleName, FileName); in setUpDisassembler()
632 exitWithError("disassembling error", FileName); in disassemble()
[all …]
H A DPerfReader.cpp354 exitWithError("Unsupported perfscript!"); in create()
366 exitWithError("Perf not found."); in convertPerfDataToTrace()
398 exitWithError("No relevant mmap event is found in perf data."); in convertPerfDataToTrace()
444 exitWithError("Executable segments not loaded consecutively"); in updateBinaryAddress()
447 exitWithError("File offset not found"); in updateBinaryAddress()
454 exitWithError("Segment not loaded by consecutive mmaps"); in updateBinaryAddress()
482 exitWithError("FS discriminator is not supported in CS profile."); in unwindSamples()
718 exitWithError(EC, Filename); in writeUnsymbolizedProfile()
788 exitWithError(Msg); in readSampleCounters()
954 exitWithError(ErrorMsg); in extractMMap2EventForBinary()
[all …]
H A DProfileGenerator.cpp120 exitWithError("FS discriminator is not supported in CS profile."); in create()
137 exitWithError("FS discriminator is not supported in CS profile."); in create()
159 exitWithError(std::move(EC)); in write()
165 exitWithError(EC, OutputFilename); in write()
H A DPerfReader.h38 exitWithError("Error read input perf script file", Filename); in TraceStream()
/llvm-project-15.0.7/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp67 static void exitWithError(Twine Message, Twine Whence = "", in exitWithError() function
79 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
80 exitWithError(toString(std::move(E)), Whence); in exitWithError()
84 exitWithError(EC.message(), Whence); in exitWithErrorCode()
94 exitWithError(std::move(E)); in remapSymbols()
/llvm-project-15.0.7/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp101 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
456 exitWithError("no profile can be merged"); in mergeInstrProfile()
782 exitWithError( in mergeSampleProfile()
1049 exitWithError( in merge_main()
1986 exitWithError( in loadProfiles()
2153 exitWithError(std::move(E), Filename); in showInstrProfile()
2335 exitWithError(std::move(E), Filename); in showInstrProfile()
2556 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
2558 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
2563 exitWithError(std::move(Err), Filename); in showDebugInfoCorrelation()
[all …]