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

12

/external/llvm/lib/Support/Unix/
H A DUnix.h62 /// This function builds an error message into \p ErrMsg using the \p prefix
70 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
71 if (!ErrMsg)
75 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
69 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
H A DBugDriver.cpp153 bool BugDriver::run(std::string &ErrMsg) { argument
157 return runManyPasses(PassesToRun, ErrMsg);
182 return debugCodeGeneratorCrash(ErrMsg);
194 return debugCodeGeneratorCrash(ErrMsg);
211 return debugCodeGeneratorCrash(ErrMsg);
218 return debugCodeGeneratorCrash(ErrMsg);
228 return debugCodeGeneratorCrash(ErrMsg);
H A DOptimizerDriver.cpp217 std::string ErrMsg; local
220 Timeout, MemoryLimit, &ErrMsg);
237 outs() << "Execute failed: " << ErrMsg << "\n";
239 outs() << "Crashed: " << ErrMsg << "\n";
/external/llvm/utils/not/
H A Dnot.cpp32 std::string ErrMsg; local
34 &ErrMsg);
44 errs() << "Error: " << ErrMsg << "\n";
/external/llvm/lib/Support/
H A DProgram.cpp27 unsigned memoryLimit, std::string *ErrMsg);
31 unsigned memoryLimit, std::string *ErrMsg,
34 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
38 PI, secondsToWait, /*WaitUntilTerminates=*/secondsToWait == 0, ErrMsg);
50 unsigned memoryLimit, std::string *ErrMsg,
55 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg))
29 ExecuteAndWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned secondsToWait, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
48 ExecuteNoWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
H A DGraphWriter.cpp84 std::string &ErrMsg) {
88 &ErrMsg)) {
89 errs() << "Error: " << ErrMsg << "\n";
95 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg);
137 std::string ErrMsg; local
149 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
164 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
197 if (ExecGraphViewer(GeneratorPath, args, Filename, wait, ErrMsg))
220 ErrMsg.clear();
221 return ExecGraphViewer(ViewerPath, args, PSFilename, wait, ErrMsg);
82 ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args, StringRef Filename, bool wait, std::string &ErrMsg) argument
[all...]
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DSectionMemoryManager.cpp105 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) argument
117 if (ErrMsg) {
118 *ErrMsg = ec.message();
130 if (ErrMsg) {
131 *ErrMsg = ec.message();
/external/llvm/lib/IRReader/
H A DIRReader.cpp36 std::string ErrMsg; local
/external/llvm/lib/Support/Windows/
H A DWindowsSupport.h42 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) { argument
43 if (!ErrMsg)
50 *ErrMsg = prefix + buffer;
52 *ErrMsg = prefix + "Unknown error";
/external/llvm/unittests/Analysis/
H A DLazyCallGraphTest.cpp31 std::string ErrMsg; local
32 raw_string_ostream OS(ErrMsg);
/external/clang/lib/Driver/
H A DJob.cpp121 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, argument
131 /*memoryLimit*/ 0, ErrMsg, ExecutionFailed);
155 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg, argument
157 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed);
161 // Clear ExecutionFailed and ErrMsg before falling back.
162 if (ErrMsg)
163 ErrMsg->clear();
170 int SecondaryStatus = Fallback->Execute(Redirects, ErrMsg, ExecutionFailed);
/external/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp341 std::string ErrMsg; local
342 llvm::raw_fd_ostream o(OutputFile.c_str(), ErrMsg, llvm::sys::fs::F_Text);
343 if (!ErrMsg.empty()) {
/external/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h333 /// @param[out] ErrMsg
339 virtual bool finalizeMemory(std::string *ErrMsg) { argument
/external/llvm/tools/lli/
H A DRemoteMemoryManager.cpp151 bool RemoteMemoryManager::finalizeMemory(std::string *ErrMsg) { argument
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp102 bool finalizeMemory(std::string *ErrMsg) override { return false; }
154 std::string ErrMsg; local
155 if (sys::DynamicLibrary::LoadLibraryPermanently(Dylib.c_str(), &ErrMsg))
157 << ErrMsg << "\n"; local
/external/llvm/unittests/Support/
H A DPath.cpp538 std::string ErrMsg; local
539 raw_fd_ostream file(file_pathname.c_str(), ErrMsg, sys::fs::F_None);
552 std::string ErrMsg; local
556 raw_fd_ostream File(FilePathname.c_str(), ErrMsg, sys::fs::F_Text);
557 EXPECT_EQ(ErrMsg, "");
567 raw_fd_ostream File(FilePathname.c_str(), ErrMsg, sys::fs::F_None);
568 EXPECT_EQ(ErrMsg, "");
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp219 const Twine &ErrMsg) {
222 return Ctx.emitError(ErrMsg);
227 return Ctx.emitError(I, ErrMsg + AsmError);
229 return Ctx.emitError(I, ErrMsg);
218 diagnosePossiblyInvalidConstraint(LLVMContext &Ctx, const Value *V, const Twine &ErrMsg) argument
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp365 bool finalizeMemory(std::string *ErrMsg) override;
405 bool SimpleBindingMemoryManager::finalizeMemory(std::string *ErrMsg) { argument
411 if (ErrMsg)
412 *ErrMsg = errMsgCString;
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp523 bool finalizeMemory(std::string *ErrMsg) override {
660 std::string ErrMsg; local
662 sys::MemoryBlock B = sys::Memory::AllocateRWX(size, LastSlabPtr, &ErrMsg);
665 " JIT\n" + Twine(ErrMsg));
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp233 std::string ErrMsg; local
234 raw_string_ostream ErrMsgStream(ErrMsg);
244 std::string ErrMsg; local
245 raw_string_ostream ErrMsgStream(ErrMsg);
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp781 std::string ErrMsg; local
789 &ErrMsg)) {
790 llvm::errs() << "Error viewing graph: " << ErrMsg << "\n";
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITTest.cpp151 virtual bool finalizeMemory(std::string *ErrMsg) { return false; } argument
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3441 std::string *ErrMsg) {
3446 if (ErrMsg)
3447 *ErrMsg = EC.message();
3438 getStreamedBitcodeModule(const std::string &name, DataStreamer *streamer, LLVMContext &Context, std::string *ErrMsg) argument
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp1859 std::string ErrMsg = "looking up intrinsic '" + Name.str() + "("; local
1862 ErrMsg += ", ";
1863 ErrMsg += Types[I].str();
1865 ErrMsg += ")'\n";
1866 ErrMsg += "Available overloads:\n";
1871 ErrMsg += " - " + I->getReturnType().str() + " " + I->getMangledName();
1872 ErrMsg += "(";
1875 ErrMsg += ", ";
1876 ErrMsg += I->getParamType(A).str();
1878 ErrMsg
[all...]

Completed in 469 milliseconds

12