Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/
H A DErrorHandling.h22 exitWithError(const Twine &Message, StringRef Whence = StringRef(),
34 exitWithError(std::error_code EC, StringRef Whence = StringRef()) {
35 exitWithError(EC.message(), Whence);
38 LLVM_ATTRIBUTE_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 DProfiledBinary.cpp51 exitWithError(Error, Obj->getFileName()); in getTarget()
94 exitWithError("not a valid Elf image", Path); in load()
99 exitWithError("unsupported target", TheTriple.getTriple()); in load()
184 exitWithError("no text section found", Obj->getFileName()); in setPreferredBaseAddress()
318 exitWithError("no register info for target " + TripleName, FileName); in setUpDisassembler()
323 exitWithError("no assembly info for target " + TripleName, FileName); in setUpDisassembler()
329 exitWithError("no subtarget info for target " + TripleName, FileName); in setUpDisassembler()
333 exitWithError("no instruction info for target " + TripleName, FileName); in setUpDisassembler()
341 exitWithError("no disassembler for target " + TripleName, FileName); in setUpDisassembler()
407 exitWithError("disassembling error", FileName); in disassemble()
H A DPerfReader.cpp250 exitWithError(Msg); in validateCommandLine()
256 exitWithError( in validateCommandLine()
265 exitWithError(Msg); in validateCommandLine()
269 exitWithError("Value of --compress-recursion should >= -1"); in validateCommandLine()
272 exitWithError("--show-source-locations should work together with " in validateCommandLine()
298 exitWithError(ErrorMsg); in loadBinary()
570 exitWithError("'Hybrid perf sample is corrupted, No LBR sample line"); in parseHybridSample()
604 exitWithError(ErrorMsg); in parseMMap2Event()
643 exitWithError("Invalid perf script input!"); in checkAndSetPerfType()
645 exitWithError("Inconsistent sample among different perf scripts"); in checkAndSetPerfType()
H A DPseudoProbe.cpp107 exitWithError("Decode unencoded number error in " + SectionName + in readUnencodedNumber()
118 exitWithError("Decode number error in " + SectionName + " section"); in readUnsignedNumber()
128 exitWithError("Decode number error in " + SectionName + " section"); in readSignedNumber()
137 exitWithError("Decode string error in " + SectionName + " section"); in readString()
H A DProfileGenerator.cpp90 exitWithError(std::move(EC)); in write()
96 exitWithError(EC, OutputFilename); in write()
429 exitWithError(std::move(EC)); in write()
H A DPerfReader.h37 exitWithError("Error read input perf script file", Filename); in TraceStream()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cxxmap/
H A Dllvm-cxxmap.cpp57 static void exitWithError(Twine Message, Twine Whence = "", in exitWithError() function
69 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
70 exitWithError(toString(std::move(E)), Whence); in exitWithError()
74 exitWithError(EC.message(), Whence); in exitWithErrorCode()
84 exitWithError(std::move(E)); in remapSymbols()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp65 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() function
76 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
85 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
89 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
93 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
167 exitWithError("unexpected line in remapping file", in create()
329 exitWithError("Cannot write indexed profdata format to stdout."); in mergeInstrProfile()
333 exitWithError("Unknown format is specified."); in mergeInstrProfile()
396 exitWithError("No profiles could be merged."); in mergeInstrProfile()
535 exitWithError("Cannot write indexed profdata format to stdout."); in supplementInstrProfile()
[all …]