/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | BinaryStreamError.cpp | 25 ErrMsg = "Stream Error: "; in BinaryStreamError() 28 ErrMsg += "An unspecified error has occurred."; in BinaryStreamError() 31 ErrMsg += "The stream is too short to perform the requested operation."; in BinaryStreamError() 34 ErrMsg += "The buffer size is not a multiple of the array element size."; in BinaryStreamError() 37 ErrMsg += "The specified offset is invalid for the current stream."; in BinaryStreamError() 40 ErrMsg += "An I/O error occurred on the file system."; in BinaryStreamError() 45 ErrMsg += " "; in BinaryStreamError() 46 ErrMsg += Context; in BinaryStreamError() 50 void BinaryStreamError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 52 StringRef BinaryStreamError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
D | GraphWriter.cpp | 96 std::string &ErrMsg) { in ExecGraphViewer() argument 98 if (sys::ExecuteAndWait(ExecPath, args, None, {}, 0, 0, &ErrMsg)) { in ExecGraphViewer() 99 errs() << "Error: " << ErrMsg << "\n"; in ExecGraphViewer() 105 sys::ExecuteNoWait(ExecPath, args, None, {}, 0, &ErrMsg); in ExecGraphViewer() 152 std::string ErrMsg; in DisplayGraph() local 165 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 174 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 185 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 198 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 245 if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg)) in DisplayGraph() [all …]
|
D | Program.cpp | 29 unsigned MemoryLimit, std::string *ErrMsg); 35 std::string *ErrMsg, bool *ExecutionFailed) { in ExecuteAndWait() argument 38 if (Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) { in ExecuteAndWait() 42 PI, SecondsToWait, /*WaitUntilTerminates=*/SecondsToWait == 0, ErrMsg); in ExecuteAndWait() 55 unsigned MemoryLimit, std::string *ErrMsg, in ExecuteNoWait() argument 61 if (!Execute(PI, Program, Args, Env, Redirects, MemoryLimit, ErrMsg)) in ExecuteNoWait()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | Error.h | 36 Obj2YamlError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {} in Obj2YamlError() argument 37 Obj2YamlError(obj2yaml_error C, std::string ErrMsg) in Obj2YamlError() argument 38 : ErrMsg(std::move(ErrMsg)), Code(C) {} in Obj2YamlError() 40 const std::string &getErrorMessage() const { return ErrMsg; } in getErrorMessage() 44 std::string ErrMsg;
|
/external/llvm/tools/obj2yaml/ |
D | Error.h | 36 Obj2YamlError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {} in Obj2YamlError() argument 37 Obj2YamlError(obj2yaml_error C, std::string ErrMsg) in Obj2YamlError() argument 38 : ErrMsg(std::move(ErrMsg)), Code(C) {} in Obj2YamlError() 40 const std::string &getErrorMessage() const { return ErrMsg; } in getErrorMessage() 44 std::string ErrMsg;
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Program.cpp | 28 unsigned memoryLimit, std::string *ErrMsg); 32 unsigned memoryLimit, std::string *ErrMsg, in ExecuteAndWait() argument 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait() 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); in ExecuteAndWait() 51 unsigned memoryLimit, std::string *ErrMsg, in ExecuteNoWait() argument 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
|
/external/llvm/lib/Support/ |
D | Program.cpp | 28 unsigned memoryLimit, std::string *ErrMsg); 32 unsigned memoryLimit, std::string *ErrMsg, in ExecuteAndWait() argument 35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait() 39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg); in ExecuteAndWait() 51 unsigned memoryLimit, std::string *ErrMsg, in ExecuteNoWait() argument 56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
|
D | GraphWriter.cpp | 83 std::string &ErrMsg) { in ExecGraphViewer() argument 87 &ErrMsg)) { in ExecGraphViewer() 88 errs() << "Error: " << ErrMsg << "\n"; in ExecGraphViewer() 94 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg); in ExecGraphViewer() 138 std::string ErrMsg; in DisplayGraph() local 152 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 162 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) in DisplayGraph() 174 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 189 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); in DisplayGraph() 237 if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg)) in DisplayGraph() [all …]
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/ |
D | Program.inc | 99 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) { 112 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for " 119 MakeErrMsg(ErrMsg, "Cannot dup2"); 128 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 142 return MakeErrMsg(ErrMsg, "Cannot dup2", Err); 183 unsigned memoryLimit, std::string *ErrMsg) { 185 if (ErrMsg) 186 *ErrMsg = std::string("Executable \"") + Program.str() + 216 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) || 217 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions)) [all …]
|
/external/llvm/lib/Support/Unix/ |
D | Program.inc | 99 static bool RedirectIO(const StringRef *Path, int FD, std::string* ErrMsg) { 112 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for " 119 MakeErrMsg(ErrMsg, "Cannot dup2"); 128 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 142 return MakeErrMsg(ErrMsg, "Cannot dup2", Err); 183 unsigned memoryLimit, std::string *ErrMsg) { 185 if (ErrMsg) 186 *ErrMsg = std::string("Executable \"") + Program.str() + 216 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) || 217 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/Unix/ |
D | Program.inc | 97 static bool RedirectIO(Optional<StringRef> Path, int FD, std::string* ErrMsg) { 110 MakeErrMsg(ErrMsg, "Cannot open file '" + File + "' for " 117 MakeErrMsg(ErrMsg, "Cannot dup2"); 126 static bool RedirectIO_PS(const std::string *Path, int FD, std::string *ErrMsg, 140 return MakeErrMsg(ErrMsg, "Cannot dup2", Err); 180 unsigned MemoryLimit, std::string *ErrMsg) { 182 if (ErrMsg) 183 *ErrMsg = std::string("Executable \"") + Program.str() + 226 if (RedirectIO_PS(RedirectsStr[0], 0, ErrMsg, FileActions) || 227 RedirectIO_PS(RedirectsStr[1], 1, ErrMsg, FileActions)) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/ |
D | RemoteObjectLayerTest.cpp | 175 auto ErrMsg = toString(std::move(Err)); in TEST() local 176 EXPECT_EQ(ErrMsg, "AddObjectFailure - Test Message") in TEST() 211 auto ErrMsg = toString(HandleOrErr.takeError()); in TEST() local 212 EXPECT_EQ(ErrMsg, "AddObjectFailure - Test Message") in TEST() 278 auto ErrMsg = toString(std::move(Err)); in TEST() local 279 EXPECT_EQ(ErrMsg, "Object handle 42 not found") in TEST() 316 auto ErrMsg = toString(std::move(Err)); in TEST() local 317 EXPECT_EQ(ErrMsg, "Object handle 42 not found") in TEST() 334 auto ErrMsg = toString(std::move(Err)); in TEST() local 335 EXPECT_EQ(ErrMsg, "Could not find symbol 'badsymbol'") in TEST() [all …]
|
/external/llvm/lib/DebugInfo/PDB/ |
D | GenericError.cpp | 53 ErrMsg = "PDB Error: "; in GenericError() 56 ErrMsg += EC.message() + " "; in GenericError() 58 ErrMsg += Context; in GenericError() 61 void GenericError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 63 const std::string &GenericError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAError.cpp | 45 ErrMsg = "DIA Error: "; in DIAError() 47 ErrMsg += EC.message() + " "; in DIAError() 49 ErrMsg += Context; in DIAError() 52 void DIAError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 54 StringRef DIAError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/ |
D | GenericError.cpp | 54 ErrMsg = "PDB Error: "; in GenericError() 57 ErrMsg += EC.message() + " "; in GenericError() 59 ErrMsg += Context; in GenericError() 62 void GenericError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 64 StringRef GenericError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/clang/lib/Driver/ |
D | Job.cpp | 231 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, in Execute() argument 242 /*memoryLimit*/ 0, ErrMsg, in Execute() 260 if (ErrMsg) in Execute() 261 *ErrMsg = EC.message(); in Execute() 269 /*memoryLimit*/ 0, ErrMsg, ExecutionFailed); in Execute() 294 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg, in Execute() argument 296 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed); in Execute() 301 if (ErrMsg) in Execute() 302 ErrMsg->clear(); in Execute() 309 int SecondaryStatus = Fallback->Execute(Redirects, ErrMsg, ExecutionFailed); in Execute() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/ |
D | MSFError.cpp | 56 ErrMsg = "MSF Error: "; in MSFError() 59 ErrMsg += EC.message() + " "; in MSFError() 61 ErrMsg += Context; in MSFError() 64 void MSFError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 66 const std::string &MSFError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIAError.cpp | 45 ErrMsg = "DIA Error: "; in DIAError() 48 ErrMsg += EC.message() + " "; in DIAError() 50 ErrMsg += Context; in DIAError() 53 void DIAError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 55 const std::string &DIAError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/CodeView/ |
D | CodeViewError.cpp | 57 ErrMsg = "CodeView Error: "; in CodeViewError() 60 ErrMsg += EC.message() + " "; in CodeViewError() 62 ErrMsg += Context; in CodeViewError() 65 void CodeViewError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 67 const std::string &CodeViewError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/llvm/lib/DebugInfo/CodeView/ |
D | CodeViewError.cpp | 53 ErrMsg = "CodeView Error: "; in CodeViewError() 56 ErrMsg += EC.message() + " "; in CodeViewError() 58 ErrMsg += Context; in CodeViewError() 61 void CodeViewError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 63 const std::string &CodeViewError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | RawError.cpp | 53 ErrMsg = "Native PDB Error: "; in RawError() 56 ErrMsg += EC.message() + " "; in RawError() 58 ErrMsg += Context; in RawError() 61 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 63 const std::string &RawError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/ |
D | RawError.cpp | 61 ErrMsg = "Native PDB Error: "; in RawError() 64 ErrMsg += EC.message() + " "; in RawError() 66 ErrMsg += Context; in RawError() 69 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log() 71 const std::string &RawError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 215 std::string ErrMsg = "could not open bitcode file for writing: "; in writeMergedModules() local 216 ErrMsg += Path; in writeMergedModules() 217 emitError(ErrMsg); in writeMergedModules() 226 std::string ErrMsg = "could not write bitcode file: "; in writeMergedModules() local 227 ErrMsg += Path; in writeMergedModules() 228 emitError(ErrMsg); in writeMergedModules() 328 std::string ErrMsg; in determineTarget() local 329 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget() 331 emitError(ErrMsg); in determineTarget() 668 void LTOCodeGenerator::emitError(const std::string &ErrMsg) { in emitError() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 216 std::string ErrMsg = "could not open bitcode file for writing: "; in writeMergedModules() local 217 ErrMsg += Path.str() + ": " + EC.message(); in writeMergedModules() 218 emitError(ErrMsg); in writeMergedModules() 227 std::string ErrMsg = "could not write bitcode file: "; in writeMergedModules() local 228 ErrMsg += Path.str() + ": " + Out.os().error().message(); in writeMergedModules() 229 emitError(ErrMsg); in writeMergedModules() 332 std::string ErrMsg; in determineTarget() local 333 MArch = TargetRegistry::lookupTarget(TripleStr, ErrMsg); in determineTarget() 335 emitError(ErrMsg); in determineTarget() 676 void LTOCodeGenerator::emitError(const std::string &ErrMsg) { in emitError() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/ |
D | RuntimeDyld.h | 46 RuntimeDyldError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {} in RuntimeDyldError() argument 49 const std::string &getErrorMessage() const { return ErrMsg; } in getErrorMessage() 53 std::string ErrMsg; 151 virtual bool finalizeMemory(std::string *ErrMsg = nullptr) = 0;
|