/external/llvm/bindings/go/llvm/ |
SupportBindings.h | 22 // stable C API and adds an extra ErrMsg parameter to retrieve the error 24 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg);
|
SupportBindings.cpp | 19 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg) { 22 *ErrMsg = static_cast<char *>(malloc(ErrMsgStr.size() + 1)); 23 memcpy(static_cast<void *>(*ErrMsg),
|
/external/llvm/utils/not/ |
not.cpp | 42 std::string ErrMsg; 44 &ErrMsg); 54 errs() << "Error: " << ErrMsg << "\n";
|
/external/llvm/lib/Support/ |
Program.cpp | 28 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))
|
GraphWriter.cpp | 83 std::string &ErrMsg) { 87 &ErrMsg)) { 88 errs() << "Error: " << ErrMsg << "\n"; 94 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg); 139 std::string ErrMsg; 152 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) 162 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)) 174 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); 189 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg); 222 if (ExecGraphViewer(GeneratorPath, args, Filename, wait, ErrMsg)) [all...] |
/external/llvm/lib/Support/Unix/ |
Unix.h | 62 /// 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);
|
/external/llvm/include/llvm/Support/ |
DynamicLibrary.h | 63 /// instance on failure (see isValid()). \p *errMsg will only be modified 69 std::string *errMsg = nullptr); 77 std::string *ErrMsg = nullptr) { 78 return !getPermanentLibrary(Filename, ErrMsg).isValid();
|
Memory.h | 98 /// \p ErrMsg [out] returns a string describing any error that occurred. 118 /// a null memory block and fills in *ErrMsg. 123 std::string *ErrMsg = nullptr); 130 /// in *ErrMsg. 132 static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = nullptr); 143 static bool setExecutable(MemoryBlock &M, std::string *ErrMsg = nullptr); 148 static bool setWritable(MemoryBlock &M, std::string *ErrMsg = nullptr);
|
Signals.h | 33 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
|
Program.h | 116 std::string *ErrMsg = nullptr, ///< If non-zero, provides a pointer to a 130 std::string *ErrMsg = nullptr, bool *ExecutionFailed = nullptr); 185 std::string *ErrMsg = nullptr ///< If non-zero, provides a pointer to a
|
/external/llvm/tools/bugpoint/ |
FindBugs.cpp | 34 std::string &ErrMsg) { 84 return debugCodeGeneratorCrash(ErrMsg); 102 debugCodeGeneratorCrash(ErrMsg);
|
BugDriver.cpp | 150 bool BugDriver::run(std::string &ErrMsg) { 154 return runManyPasses(PassesToRun, ErrMsg); 179 return debugCodeGeneratorCrash(ErrMsg); 191 return debugCodeGeneratorCrash(ErrMsg); 208 return debugCodeGeneratorCrash(ErrMsg); 215 return debugCodeGeneratorCrash(ErrMsg); 225 return debugCodeGeneratorCrash(ErrMsg);
|
OptimizerDriver.cpp | 235 std::string ErrMsg; 238 Timeout, MemoryLimit, &ErrMsg); 255 outs() << "Execute failed: " << ErrMsg << "\n"; 257 outs() << "Crashed: " << ErrMsg << "\n";
|
/external/clang/lib/Driver/ |
Job.cpp | 217 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, 228 /*memoryLimit*/ 0, ErrMsg, 246 if (ErrMsg) 247 *ErrMsg = EC.message(); 255 /*memoryLimit*/ 0, ErrMsg, ExecutionFailed); 279 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg, 281 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed); 285 // Clear ExecutionFailed and ErrMsg before falling back. 286 if (ErrMsg) 287 ErrMsg->clear() [all...] |
/frameworks/compile/slang/BitWriter_2_9/ |
ReaderWriter_2_9.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
ReaderWriter_2_9_func.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/frameworks/compile/slang/BitWriter_3_2/ |
ReaderWriter_3_2.h | 33 /// in *ErrMsg with an error description if ErrMsg is non-null. 36 std::string *ErrMsg = 0); 41 /// of 'buffer'. On error, this returns "", and fills in *ErrMsg 42 /// if ErrMsg is non-null. 45 std::string *ErrMsg = 0); 48 /// If an error occurs, this returns null and fills in *ErrMsg if it is 51 std::string *ErrMsg = 0);
|
/external/llvm/lib/Support/Windows/ |
WindowsSupport.h | 46 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) { 47 if (!ErrMsg) 54 *ErrMsg = prefix + buffer; 56 *ErrMsg = prefix + "Unknown error";
|
/external/llvm/lib/ExecutionEngine/ |
SectionMemoryManager.cpp | 105 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg) 117 if (ErrMsg) { 118 *ErrMsg = ec.message(); 130 if (ErrMsg) { 131 *ErrMsg = ec.message();
|
ExecutionEngineBindings.cpp | 364 bool finalizeMemory(std::string *ErrMsg) override; 404 bool SimpleBindingMemoryManager::finalizeMemory(std::string *ErrMsg) { 410 if (ErrMsg) 411 *ErrMsg = errMsgCString;
|
/external/llvm/include/llvm/ExecutionEngine/ |
SectionMemoryManager.h | 74 bool finalizeMemory(std::string *ErrMsg = nullptr) override;
|
RuntimeDyld.h | 134 virtual bool finalizeMemory(std::string *ErrMsg = nullptr) = 0;
|
/external/llvm/tools/lli/ |
RemoteMemoryManager.h | 86 bool finalizeMemory(std::string *ErrMsg) override;
|
/external/clang/include/clang/Driver/ |
Job.h | 115 virtual int Execute(const StringRef **Redirects, std::string *ErrMsg, 154 int Execute(const StringRef **Redirects, std::string *ErrMsg,
|
/external/llvm/unittests/Bitcode/ |
BitReaderTest.cpp | 33 std::string ErrMsg; 34 raw_string_ostream OS(ErrMsg);
|