Searched defs:ErrMsg (Results 1 - 25 of 74) sorted by relevance

123

/external/llvm/bindings/go/llvm/
H A DSupportBindings.cpp19 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg) { argument
22 *ErrMsg = static_cast<char *>(malloc(ErrMsgStr.size() + 1));
23 memcpy(static_cast<void *>(*ErrMsg),
/external/llvm/lib/Support/Unix/
H A DUnix.h51 /// This function builds an error message into \p ErrMsg using the \p prefix
59 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
60 if (!ErrMsg)
64 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
58 MakeErrMsg( std::string* ErrMsg, const std::string& prefix, int errnum = -1) argument
/external/llvm/tools/bugpoint/
H A DFindBugs.cpp34 std::string &ErrMsg) {
84 return debugCodeGeneratorCrash(ErrMsg);
102 debugCodeGeneratorCrash(ErrMsg);
33 runManyPasses(const std::vector<std::string> &AllPasses, std::string &ErrMsg) argument
/external/llvm/utils/not/
H A Dnot.cpp42 std::string ErrMsg; local
44 &ErrMsg);
54 errs() << "Error: " << ErrMsg << "\n";
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
H A DUnix.h70 /// This function builds an error message into \p ErrMsg using the \p prefix
78 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
79 if (!ErrMsg)
83 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
77 MakeErrMsg( std::string* ErrMsg, const std::string& prefix, int errnum = -1) argument
/external/swiftshader/third_party/LLVM/tools/bugpoint/
H A DFindBugs.cpp33 std::string &ErrMsg) {
83 return debugCodeGeneratorCrash(ErrMsg);
101 debugCodeGeneratorCrash(ErrMsg);
32 runManyPasses(const std::vector<std::string> &AllPasses, std::string &ErrMsg) argument
/external/swiftshader/third_party/LLVM/utils/not/
H A Dnot.cpp18 std::string ErrMsg; local
20 &ErrMsg);
22 errs() << "Error: " << ErrMsg << "\n";
/external/swiftshader/third_party/LLVM/lib/Support/
H A DGraphWriter.cpp56 std::string ErrMsg; local
66 if (sys::Program::ExecuteAndWait(Graphviz, &args[0],0,0,0,0,&ErrMsg)) {
67 errs() << "Error: " << ErrMsg << "\n";
91 &args[0],0,0,0,0,&ErrMsg)) {
92 errs() << "Error: " << ErrMsg << "\n";
156 if (sys::Program::ExecuteAndWait(prog, &args[0], 0, 0, 0, 0, &ErrMsg)) {
157 errs() << "Error: " << ErrMsg << "\n";
169 ErrMsg.clear();
171 if (sys::Program::ExecuteAndWait(gv, &args[0],0,0,0,0,&ErrMsg))
172 errs() << "Error: " << ErrMsg << "\
[all...]
H A DProgram.cpp31 std::string* ErrMsg) {
33 if (prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg))
34 return prg.Wait(path, secondsToWait, ErrMsg);
45 std::string* ErrMsg) {
47 prg.Execute(path, args, envp, redirects, memoryLimit, ErrMsg);
25 ExecuteAndWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned secondsToWait, unsigned memoryLimit, std::string* ErrMsg) argument
40 ExecuteNoWait(const Path& path, const char** args, const char** envp, const Path** redirects, unsigned memoryLimit, std::string* ErrMsg) argument
/external/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h39 std::string ErrMsg; member in class:llvm::codeview::CodeViewError
/external/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIAError.h41 std::string ErrMsg; member in class:llvm::pdb::DIAError
/external/llvm/include/llvm/DebugInfo/PDB/
H A DGenericError.h37 std::string ErrMsg; member in class:llvm::pdb::GenericError
/external/llvm/lib/DebugInfo/CodeView/
H A DCodeViewError.cpp53 ErrMsg = "CodeView Error: ";
56 ErrMsg += EC.message() + " ";
58 ErrMsg += Context;
61 void CodeViewError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } local
63 const std::string &CodeViewError::getErrorMessage() const { return ErrMsg; }
/external/llvm/lib/DebugInfo/PDB/DIA/
H A DDIAError.cpp45 ErrMsg = "DIA Error: ";
48 ErrMsg += EC.message() + " ";
50 ErrMsg += Context;
53 void DIAError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } local
55 const std::string &DIAError::getErrorMessage() const { return ErrMsg; }
/external/llvm/lib/DebugInfo/PDB/
H A DGenericError.cpp53 ErrMsg = "PDB Error: ";
56 ErrMsg += EC.message() + " ";
58 ErrMsg += Context;
61 void GenericError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } local
63 const std::string &GenericError::getErrorMessage() const { return ErrMsg; }
/external/llvm/lib/DebugInfo/PDB/Raw/
H A DRawError.cpp53 ErrMsg = "Native PDB Error: ";
56 ErrMsg += EC.message() + " ";
58 ErrMsg += Context;
61 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } local
63 const std::string &RawError::getErrorMessage() const { return ErrMsg; }
/external/llvm/lib/Support/
H A DProgram.cpp28 unsigned memoryLimit, std::string *ErrMsg);
32 unsigned memoryLimit, std::string *ErrMsg,
35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg);
51 unsigned memoryLimit, std::string *ErrMsg,
56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
30 ExecuteAndWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned secondsToWait, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
49 ExecuteNoWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
H A DError.cpp105 std::string ErrMsg; local
107 raw_string_ostream ErrStream(ErrMsg);
110 report_fatal_error(ErrMsg);
/external/llvm/tools/obj2yaml/
H A DError.cpp56 void Obj2YamlError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } local
H A DError.h36 Obj2YamlError(std::string ErrMsg) : ErrMsg(std::move(ErrMsg)) {} argument
37 Obj2YamlError(obj2yaml_error C, std::string ErrMsg) argument
38 : ErrMsg(std::move(ErrMsg)), Code(C) {}
40 const std::string &getErrorMessage() const { return ErrMsg; }
44 std::string ErrMsg; member in class:llvm::Obj2YamlError
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DIRReader.h40 std::string ErrMsg; local
41 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
43 Err = SMDiagnostic(Buffer->getBufferIdentifier(), ErrMsg);
80 std::string ErrMsg; local
81 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
83 Err = SMDiagnostic(Buffer->getBufferIdentifier(), ErrMsg);
/external/swiftshader/third_party/LLVM/lib/Linker/
H A DLinkArchives.cpp114 std::string ErrMsg; local
116 Archive::OpenAndLoadSymbols(Filename, Context, &ErrMsg));
122 "': " + ErrMsg);
145 if (!arch->findModulesDefiningSymbols(UndefinedSymbols, Modules, &ErrMsg))
147 "': " + ErrMsg);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
H A DProgram.cpp28 unsigned memoryLimit, std::string *ErrMsg);
32 unsigned memoryLimit, std::string *ErrMsg,
35 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
39 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg);
51 unsigned memoryLimit, std::string *ErrMsg,
56 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
30 ExecuteAndWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned secondsToWait, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
49 ExecuteNoWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
/external/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
H A DUnix.h56 /// This function builds an error message into \p ErrMsg using the \p prefix
64 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
65 if (!ErrMsg)
69 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
63 MakeErrMsg( std::string* ErrMsg, const std::string& prefix, int errnum = -1) argument
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
H A DRawError.h44 std::string ErrMsg; member in class:llvm::pdb::RawError

Completed in 462 milliseconds

123