Home
last modified time | relevance | path

Searched refs:ErrorMsg (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp99 EvalResult() : Value(0), ErrorMsg("") {} in EvalResult()
100 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult()
101 EvalResult(std::string ErrorMsg) in EvalResult() argument
102 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult()
104 bool hasError() const { return ErrorMsg != ""; } in hasError()
105 const std::string &getErrorMsg() const { return ErrorMsg; } in getErrorMsg()
109 std::string ErrorMsg; member in llvm::RuntimeDyldCheckerExprEval::EvalResult
132 std::string ErrorMsg("Encountered unexpected token '"); in unexpectedToken() local
133 ErrorMsg += getTokenForError(TokenStart); in unexpectedToken()
135 ErrorMsg += "' while parsing subexpression '"; in unexpectedToken()
[all …]
/external/llvm/lib/Support/
DFileUtilities.cpp83 std::string *ErrorMsg) { in CompareNumbers() argument
128 if (ErrorMsg) { in CompareNumbers()
129 *ErrorMsg = "FP Comparison failed, not a numeric difference between '"; in CompareNumbers()
130 *ErrorMsg += F1P[0]; in CompareNumbers()
131 *ErrorMsg += "' and '"; in CompareNumbers()
132 *ErrorMsg += F2P[0]; in CompareNumbers()
133 *ErrorMsg += "'"; in CompareNumbers()
149 if (ErrorMsg) { in CompareNumbers()
150 raw_string_ostream(*ErrorMsg) in CompareNumbers()
/external/llvm-project/clang/lib/Tooling/
DCompilationDatabase.cpp244 std::string &ErrorMsg) { in stripPositionalArgs() argument
246 llvm::raw_string_ostream Output(ErrorMsg); in stripPositionalArgs()
302 ErrorMsg = "warning: no compile jobs found\n"; in stripPositionalArgs()
325 std::string &ErrorMsg, in loadFromCommandLine() argument
327 ErrorMsg.clear(); in loadFromCommandLine()
337 if (!stripPositionalArgs(CommandLine, StrippedArgs, ErrorMsg)) in loadFromCommandLine()
343 FixedCompilationDatabase::loadFromFile(StringRef Path, std::string &ErrorMsg) { in loadFromFile() argument
344 ErrorMsg.clear(); in loadFromFile()
348 ErrorMsg = "Error while opening fixed database: " + Result.message(); in loadFromFile()
352 (*File)->getBuffer(), ErrorMsg); in loadFromFile()
[all …]
DAllTUsExecution.cpp89 std::string ErrorMsg; in execute() local
93 ErrorMsg += Err.str(); in execute()
145 if (!ErrorMsg.empty()) in execute()
146 return make_string_error(ErrorMsg); in execute()
/external/llvm/utils/fpcmp/
Dfpcmp.cpp35 std::string ErrorMsg; in main() local
37 &ErrorMsg); in main()
38 if (!ErrorMsg.empty()) in main()
39 errs() << argv[0] << ": " << ErrorMsg << "\n"; in main()
/external/llvm-project/llvm/utils/fpcmp/
Dfpcmp.cpp34 std::string ErrorMsg; in main() local
36 &ErrorMsg); in main()
37 if (!ErrorMsg.empty()) in main()
38 errs() << argv[0] << ": " << ErrorMsg << "\n"; in main()
/external/llvm-project/llvm/lib/Support/
DFileUtilities.cpp90 std::string *ErrorMsg) { in CompareNumbers() argument
135 if (ErrorMsg) { in CompareNumbers()
136 *ErrorMsg = "FP Comparison failed, not a numeric difference between '"; in CompareNumbers()
137 *ErrorMsg += F1P[0]; in CompareNumbers()
138 *ErrorMsg += "' and '"; in CompareNumbers()
139 *ErrorMsg += F2P[0]; in CompareNumbers()
140 *ErrorMsg += "'"; in CompareNumbers()
156 if (ErrorMsg) { in CompareNumbers()
157 raw_string_ostream(*ErrorMsg) in CompareNumbers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileUtilities.cpp89 std::string *ErrorMsg) { in CompareNumbers() argument
134 if (ErrorMsg) { in CompareNumbers()
135 *ErrorMsg = "FP Comparison failed, not a numeric difference between '"; in CompareNumbers()
136 *ErrorMsg += F1P[0]; in CompareNumbers()
137 *ErrorMsg += "' and '"; in CompareNumbers()
138 *ErrorMsg += F2P[0]; in CompareNumbers()
139 *ErrorMsg += "'"; in CompareNumbers()
155 if (ErrorMsg) { in CompareNumbers()
156 raw_string_ostream(*ErrorMsg) in CompareNumbers()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp99 EvalResult() : Value(0), ErrorMsg("") {} in EvalResult()
100 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult()
101 EvalResult(std::string ErrorMsg) in EvalResult() argument
102 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult()
104 bool hasError() const { return ErrorMsg != ""; } in hasError()
105 const std::string &getErrorMsg() const { return ErrorMsg; } in getErrorMsg()
109 std::string ErrorMsg; member in llvm::RuntimeDyldCheckerExprEval::EvalResult
132 std::string ErrorMsg("Encountered unexpected token '"); in unexpectedToken() local
133 ErrorMsg += getTokenForError(TokenStart); in unexpectedToken()
135 ErrorMsg += "' while parsing subexpression '"; in unexpectedToken()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldChecker.cpp100 EvalResult() : Value(0), ErrorMsg("") {} in EvalResult()
101 EvalResult(uint64_t Value) : Value(Value), ErrorMsg("") {} in EvalResult()
102 EvalResult(std::string ErrorMsg) in EvalResult() argument
103 : Value(0), ErrorMsg(std::move(ErrorMsg)) {} in EvalResult()
105 bool hasError() const { return ErrorMsg != ""; } in hasError()
106 const std::string &getErrorMsg() const { return ErrorMsg; } in getErrorMsg()
110 std::string ErrorMsg; member in llvm::RuntimeDyldCheckerExprEval::EvalResult
133 std::string ErrorMsg("Encountered unexpected token '"); in unexpectedToken() local
134 ErrorMsg += getTokenForError(TokenStart); in unexpectedToken()
136 ErrorMsg += "' while parsing subexpression '"; in unexpectedToken()
[all …]
/external/llvm-project/llvm/examples/OrcV2Examples/OrcV2CBindingsAddObjectFile/
DOrcV2CBindingsAddObjectFile.c88 char *ErrorMsg = 0; in main() local
89 if (LLVMGetTargetFromTriple(Triple, &Target, &ErrorMsg)) { in main()
90 fprintf(stderr, "Error getting target for %s: %s\n", Triple, ErrorMsg); in main()
102 if (LLVMTargetMachineEmitToMemoryBuffer(TM, M, LLVMObjectFile, &ErrorMsg, in main()
104 fprintf(stderr, "Error emitting object: %s\n", ErrorMsg); in main()
/external/llvm/lib/Fuzzer/
DFuzzerExtFunctionsDlsym.cpp28 const char *ErrorMsg = dlerror(); in GetFnPtr() local
30 if (ErrorMsg) in GetFnPtr()
31 Printf(" Reason %s.", ErrorMsg); in GetFnPtr()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerExtFunctionsDlsym.cpp28 const char *ErrorMsg = dlerror(); in GetFnPtr() local
30 if (ErrorMsg) in GetFnPtr()
31 Printf(" Reason %s.", ErrorMsg); in GetFnPtr()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerExtFunctionsDlsym.cpp28 const char *ErrorMsg = dlerror(); in GetFnPtr() local
30 if (ErrorMsg) in GetFnPtr()
31 Printf(" Reason %s.", ErrorMsg); in GetFnPtr()
/external/llvm-project/llvm/unittests/Analysis/
DTBAATest.cpp57 SmallVector<char, 0> ErrorMsg; in TEST_F() local
58 raw_svector_ostream Outs(ErrorMsg); in TEST_F()
64 EXPECT_TRUE(StringRef(ErrorMsg.begin(), ErrorMsg.size()) in TEST_F()
/external/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp554 std::string ErrorMsg; in TEST() local
556 FixedCompilationDatabase::loadFromBuffer("/cdb/dir", Data, ErrorMsg); in TEST()
569 std::string ErrorMsg; in TEST() local
571 FixedCompilationDatabase::loadFromCommandLine(Argc, nullptr, ErrorMsg); in TEST()
573 EXPECT_TRUE(ErrorMsg.empty()); in TEST()
580 std::string ErrorMsg; in TEST() local
582 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST()
584 EXPECT_TRUE(ErrorMsg.empty()); in TEST()
593 std::string ErrorMsg; in TEST() local
595 FixedCompilationDatabase::loadFromCommandLine(Argc, Argv, ErrorMsg)); in TEST()
[all …]
/external/llvm-project/clang/lib/Tooling/Transformer/
DParsing.cpp65 ParseError(size_t Pos, std::string ErrorMsg, std::string InputExcerpt) in ParseError() argument
66 : Pos(Pos), ErrorMsg(std::move(ErrorMsg)), in ParseError()
70 OS << "parse error at position (" << Pos << "): " << ErrorMsg in log()
80 std::string ErrorMsg; member in __anone9ddad120111::ParseError
138 static llvm::Error makeParseError(const ParseState &S, std::string ErrorMsg) { in makeParseError() argument
140 return llvm::make_error<ParseError>(Pos, std::move(ErrorMsg), in makeParseError()
/external/libcxx/test/support/
Dverbose_assert.h165 std::string ErrorMsg;
169 ErrorMsg += PrintMismatch(*F1, *F2, Idx);
178 ErrorMsg += " Ranges have different sizes!\n";
182 ErrorMsg += PrintRange("LHS", F1Orig, E1);
183 ErrorMsg += PrintRange("RHS", F2Orig, E2);
184 Data.SetFailed(ErrorMsg);
/external/llvm-project/clang/tools/libclang/
DCXCompilationDatabase.cpp14 std::string ErrorMsg; in clang_CompilationDatabase_fromDirectory() local
18 CompilationDatabase::loadFromDirectory(BuildDir, ErrorMsg); in clang_CompilationDatabase_fromDirectory()
21 fprintf(stderr, "LIBCLANG TOOLING ERROR: %s\n", ErrorMsg.c_str()); in clang_CompilationDatabase_fromDirectory()
/external/llvm-project/clang/include/clang/Tooling/
DCompilationDatabase.h184 int &Argc, const char *const *Argv, std::string &ErrorMsg,
190 loadFromFile(StringRef Path, std::string &ErrorMsg);
195 loadFromBuffer(StringRef Directory, StringRef Data, std::string &ErrorMsg);
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
DPutenvWithAutoChecker.cpp51 StringRef ErrorMsg = "The 'putenv' function should not be called with " in checkPostCall() local
54 auto Report = std::make_unique<PathSensitiveBugReport>(BT, ErrorMsg, N); in checkPostCall()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLockFileManager.h92 void setError(const std::error_code &EC, StringRef ErrorMsg = "") {
94 ErrorDiagMsg = ErrorMsg.str();
/external/llvm/include/llvm/Support/
DLockFileManager.h91 void setError(std::error_code &EC, StringRef ErrorMsg = "") {
93 ErrorDiagMsg = ErrorMsg.str();
/external/llvm-project/llvm/include/llvm/Support/
DLockFileManager.h92 void setError(const std::error_code &EC, StringRef ErrorMsg = "") {
94 ErrorDiagMsg = ErrorMsg.str();
/external/clang/tools/libclang/
DCXCompilationDatabase.cpp16 std::string ErrorMsg; in clang_CompilationDatabase_fromDirectory() local
20 CompilationDatabase::loadFromDirectory(BuildDir, ErrorMsg); in clang_CompilationDatabase_fromDirectory()
23 fprintf(stderr, "LIBCLANG TOOLING ERROR: %s\n", ErrorMsg.c_str()); in clang_CompilationDatabase_fromDirectory()

123