HomeSort by relevance Sort by last modified time
    Searched refs:ErrMsg (Results 1 - 25 of 46) sorted by null

1 2

  /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/lib/Support/Unix/
Unix.h 51 /// 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);
  /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);
138 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);
237 if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg))
    [all...]
  /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();
Signals.h 33 bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
Memory.h 99 /// \p ErrMsg [out] returns a string describing any error that occurred.
119 /// a null memory block and fills in *ErrMsg.
124 std::string *ErrMsg = nullptr);
131 /// in *ErrMsg.
133 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);
Program.h 115 std::string *ErrMsg = nullptr, ///< If non-zero, provides a pointer to a
129 std::string *ErrMsg = nullptr, bool *ExecutionFailed = nullptr);
184 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 218 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg,
229 /*memoryLimit*/ 0, ErrMsg,
247 if (ErrMsg)
248 *ErrMsg = EC.message();
256 /*memoryLimit*/ 0, ErrMsg, ExecutionFailed);
281 int FallbackCommand::Execute(const StringRef **Redirects, std::string *ErrMsg,
283 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed);
287 // Clear ExecutionFailed and ErrMsg before falling back.
288 if (ErrMsg)
289 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 47 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) {
48 if (!ErrMsg)
57 *ErrMsg = prefix + ": " + buffer;
59 *ErrMsg = prefix + ": Unknown error";
60 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";
  /external/llvm/lib/CodeGen/
ParallelCG.cpp 49 std::string ErrMsg;
50 const Target *TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrMsg);
52 report_fatal_error(Twine("Target not found: ") + ErrMsg);
  /external/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 74 bool finalizeMemory(std::string *ErrMsg = nullptr) override;
RuntimeDyld.h 152 virtual bool finalizeMemory(std::string *ErrMsg = nullptr) = 0;
  /external/llvm/lib/ExecutionEngine/
SectionMemoryManager.cpp 125 bool SectionMemoryManager::finalizeMemory(std::string *ErrMsg)
134 if (ErrMsg) {
135 *ErrMsg = ec.message();
147 if (ErrMsg) {
148 *ErrMsg = ec.message();
  /external/llvm/lib/LTO/
LTOCodeGenerator.cpp 178 std::string ErrMsg = "could not open bitcode file for writing: ";
179 ErrMsg += Path;
180 emitError(ErrMsg);
189 std::string ErrMsg = "could not write bitcode file: ";
190 ErrMsg += Path;
191 emitError(ErrMsg);
291 std::string ErrMsg;
292 const Target *march = TargetRegistry::lookupTarget(TripleStr, ErrMsg);
294 emitError(ErrMsg);
595 void LTOCodeGenerator::emitError(const std::string &ErrMsg) {
    [all...]
  /external/clang/include/clang/Driver/
Job.h 96 virtual int Execute(const StringRef **Redirects, std::string *ErrMsg,
134 int Execute(const StringRef **Redirects, std::string *ErrMsg,
  /external/llvm/tools/lli/
RemoteMemoryManager.h 86 bool finalizeMemory(std::string *ErrMsg) override;

Completed in 969 milliseconds

1 2