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

/external/llvm/lib/Support/Unix/
H A DUnix.h58 /// This function builds an error message into \p ErrMsg using the \p prefix
66 std::string* ErrMsg, const std::string& prefix, int errnum = -1) {
67 if (!ErrMsg)
71 *ErrMsg = prefix + ": " + llvm::sys::StrError(errnum);
65 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.cpp149 bool BugDriver::run(std::string &ErrMsg) { argument
153 return runManyPasses(PassesToRun, ErrMsg);
178 return debugCodeGeneratorCrash(ErrMsg);
190 return debugCodeGeneratorCrash(ErrMsg);
207 return debugCodeGeneratorCrash(ErrMsg);
214 return debugCodeGeneratorCrash(ErrMsg);
224 return debugCodeGeneratorCrash(ErrMsg);
H A DOptimizerDriver.cpp215 std::string ErrMsg; local
218 MemoryLimit, &ErrMsg);
235 outs() << "Execute failed: " << ErrMsg << "\n";
237 outs() << "Crashed: " << ErrMsg << "\n";
H A DExecutionDriver.cpp304 std::string ErrMsg; local
440 /// generator (e.g., llc crashes), this will set ErrMsg.
446 std::string *ErrMsg) const {
449 executeProgram(Program, "", BitcodeFile, SharedObject, 0, ErrMsg));
450 if (!ErrMsg->empty())
/external/llvm/utils/not/
H A Dnot.cpp32 std::string ErrMsg; local
33 int Result = sys::ExecuteAndWait(Program, argv, 0, 0, 0, 0, &ErrMsg);
35 errs() << "Error: " << ErrMsg << "\n";
/external/llvm/lib/IRReader/
H A DIRReader.cpp33 std::string ErrMsg; local
34 Module *M = getLazyBitcodeModule(Buffer, Context, &ErrMsg);
37 ErrMsg);
66 std::string ErrMsg; local
67 Module *M = ParseBitcodeFile(Buffer, Context, &ErrMsg);
70 ErrMsg);
/external/llvm/lib/Support/
H A DProgram.cpp27 unsigned memoryLimit, std::string *ErrMsg);
30 std::string *ErrMsg);
34 unsigned memoryLimit, std::string *ErrMsg,
37 if (Execute(&Data, Program, args, envp, redirects, memoryLimit, ErrMsg)) {
39 return Wait(Data, Program, secondsToWait, ErrMsg);
47 std::string *ErrMsg) {
48 Execute(/*Data*/ 0, Program, args, envp, redirects, memoryLimit, ErrMsg);
32 ExecuteAndWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned secondsToWait, unsigned memoryLimit, std::string *ErrMsg, bool *ExecutionFailed) argument
45 ExecuteNoWait(StringRef Program, const char **args, const char **envp, const StringRef **redirects, unsigned memoryLimit, std::string *ErrMsg) argument
H A DGraphWriter.cpp84 StringRef Filename, bool wait, std::string &ErrMsg) {
86 if (sys::ExecuteAndWait(ExecPath, &args[0],0,0,0,0,&ErrMsg)) {
87 errs() << "Error: " << ErrMsg << "\n";
95 sys::ExecuteNoWait(ExecPath, &args[0],0,0,0,&ErrMsg);
105 std::string ErrMsg; local
115 if (!ExecGraphViewer(Graphviz, args, Filename, wait, ErrMsg))
134 if (!ExecGraphViewer(LLVM_PATH_XDOT, args, Filename, wait, ErrMsg))
193 if (!ExecGraphViewer(prog, args, Filename, wait, ErrMsg))
203 ErrMsg.clear();
204 if (!ExecGraphViewer(gv, args, PSFilename, wait, ErrMsg))
83 ExecGraphViewer(StringRef ExecPath, std::vector<const char*> &args, StringRef Filename, bool wait, std::string &ErrMsg) argument
[all...]
/external/llvm/tools/lli/
H A DRecordingMemoryManager.h61 bool finalizeMemory(std::string *ErrMsg) { return false; } argument
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DSectionMemoryManager.cpp103 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) argument
112 if (ErrMsg) {
113 *ErrMsg = ec.message();
122 if (ErrMsg) {
123 *ErrMsg = ec.message();
/external/llvm/lib/Support/Windows/
H A DWindows.h35 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) { argument
36 if (!ErrMsg)
41 *ErrMsg = prefix + buffer;
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp72 bool finalizeMemory(std::string *ErrMsg) { return false; } argument
/external/llvm/unittests/Support/
H A DPath.cpp369 std::string ErrMsg; local
370 raw_fd_ostream file(file_pathname.c_str(), ErrMsg, sys::fs::F_Binary);
385 std::string ErrMsg; local
389 raw_fd_ostream File(FilePathname.c_str(), ErrMsg);
390 EXPECT_EQ(ErrMsg, "");
400 raw_fd_ostream File(FilePathname.c_str(), ErrMsg, sys::fs::F_Binary);
401 EXPECT_EQ(ErrMsg, "");
/external/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp418 std::string ErrMsg; local
419 llvm::raw_fd_ostream o(OutputFile.c_str(), ErrMsg);
420 if (!ErrMsg.empty()) {
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp348 LLVMBool (*FinalizeMemory)(void *Opaque, char **ErrMsg);
365 virtual bool finalizeMemory(std::string *ErrMsg);
401 bool SimpleBindingMemoryManager::finalizeMemory(std::string *ErrMsg) { argument
407 if (ErrMsg)
408 *ErrMsg = errMsgCString;
424 LLVMBool (*FinalizeMemory)(void *Opaque, char **ErrMsg),
416 LLVMCreateSimpleMCJITMemoryManager( void *Opaque, uint8_t *(*AllocateCodeSection)(void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID), uint8_t *(*AllocateDataSection)(void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID, LLVMBool IsReadOnly), LLVMBool (*FinalizeMemory)(void *Opaque, char **ErrMsg), void (*Destroy)(void *Opaque)) argument
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp757 std::string ErrMsg; local
764 if (llvm::sys::ExecuteAndWait(Ubiviz, &args[0], 0, 0, 0, 0, &ErrMsg)) {
765 llvm::errs() << "Error viewing graph: " << ErrMsg << "\n";
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp517 bool finalizeMemory(std::string *ErrMsg) { argument
662 std::string ErrMsg; local
664 sys::MemoryBlock B = sys::Memory::AllocateRWX(size, LastSlabPtr, &ErrMsg);
667 " JIT\n" + Twine(ErrMsg));
/external/llvm/unittests/ExecutionEngine/JIT/
H A DJITTest.cpp146 virtual bool finalizeMemory(std::string *ErrMsg) { return false; } argument
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp3165 std::string *ErrMsg) {
3170 if (ErrMsg)
3171 *ErrMsg = R->getErrorString();
3188 std::string *ErrMsg) {
3193 if (ErrMsg)
3194 *ErrMsg = R->getErrorString();
3203 /// If an error occurs, return null and fill in *ErrMsg if non-null.
3205 std::string *ErrMsg){
3206 Module *M = getLazyBitcodeModule(Buffer, Context, ErrMsg);
3214 if (M->MaterializeAllPermanently(ErrMsg)) {
3163 getLazyBitcodeModule(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
3185 getStreamedBitcodeModule(const std::string &name, DataStreamer *streamer, LLVMContext &Context, std::string *ErrMsg) argument
3204 ParseBitcodeFile(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
3225 getBitcodeTargetTriple(MemoryBuffer *Buffer, LLVMContext& Context, std::string *ErrMsg) argument
[all...]

Completed in 1095 milliseconds