Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-profgen/
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()
DProfiledBinary.cpp42 exitWithError(Error, Obj->getFileName()); in getTarget()
85 exitWithError("not a valid Elf image", Path); in load()
90 exitWithError("unsupported target", TheTriple.getTriple()); in load()
165 exitWithError("no text section found", Obj->getFileName()); in setPreferredBaseAddress()
239 exitWithError("no register info for target " + TripleName, FileName); in setUpDisassembler()
244 exitWithError("no assembly info for target " + TripleName, FileName); in setUpDisassembler()
250 exitWithError("no subtarget info for target " + TripleName, FileName); in setUpDisassembler()
254 exitWithError("no instruction info for target " + TripleName, FileName); in setUpDisassembler()
261 exitWithError("no disassembler for target " + TripleName, FileName); in setUpDisassembler()
327 exitWithError("disassembling error", FileName); in disassemble()
DPerfReader.cpp163 exitWithError(ErrorMsg); in loadBinary()
392 exitWithError("'Hybrid perf sample is corrupted, No LBR sample line"); in parseHybridSample()
426 exitWithError(ErrorMsg); in parseMMap2Event()
483 exitWithError("Currently only support one input binary, multiple binaries' " in checkAndSetPerfType()
DPerfReader.h36 exitWithError("Error read input perf script file", Filename); in TraceStream()
285 exitWithError(BufOrError.getError(), FileName); in isHybridPerfScript()
DProfileGenerator.cpp49 exitWithError(EC, OutputFilename); in write()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp39 static void exitWithError(const Twine &Message, StringRef Whence = "", in exitWithError() function
50 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
59 exitWithError(IPE.message(), Whence, Hint); in exitWithError()
63 exitWithError(toString(std::move(E)), Whence); in exitWithError()
67 exitWithError(EC.message(), Whence); in exitWithErrorCode()
124 exitWithError("Cannot write indexed profdata format to stdout."); in mergeInstrProfile()
127 exitWithError("Unknown format is specified."); in mergeInstrProfile()
139 exitWithError(std::move(E), Input.Filename); in mergeInstrProfile()
144 exitWithError("Merge IR generated profile with Clang generated profile."); in mergeInstrProfile()
156 exitWithError(Reader->getError(), Input.Filename); in mergeInstrProfile()
[all …]
/external/llvm-project/llvm/tools/llvm-cxxmap/
Dllvm-cxxmap.cpp56 static void exitWithError(Twine Message, Twine Whence = "", in exitWithError() function
68 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
69 exitWithError(toString(std::move(E)), Whence); in exitWithError()
73 exitWithError(EC.message(), Whence); in exitWithErrorCode()
83 exitWithError(std::move(E)); in remapSymbols()
/external/llvm-project/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp57 static void exitWithError(Twine Message, std::string Whence = "", in exitWithError() function
68 static void exitWithError(Error E, StringRef Whence = "") { in exitWithError() function
77 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
81 exitWithError(toString(std::move(E)), std::string(Whence)); in exitWithError()
85 exitWithError(EC.message(), std::string(Whence)); in exitWithErrorCode()
159 exitWithError("unexpected line in remapping file", in create()
305 exitWithError(std::move(E)); in writeInstrProfile()
317 exitWithError("Cannot write indexed profdata format to stdout."); in mergeInstrProfile()
321 exitWithError("Unknown format is specified."); in mergeInstrProfile()
384 exitWithError("No profiles could be merged."); in mergeInstrProfile()
[all …]
/external/testng/src/main/java/org/testng/
DTestNG.java464 exitWithError("Cannot use a threadCount parameter less than 1; 1 > " + threadCount); in setThreadCount()
705 exitWithError("Listener " + listener in addListener()
1379 exitWithError(ex.getMessage()); in privateMain()
1791 static void exitWithError(String msg) { in exitWithError() method in TestNG