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

/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.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.cpp150 bool BugDriver::run(std::string &ErrMsg) { argument
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);
H A DOptimizerDriver.cpp235 std::string ErrMsg; local
238 Timeout, MemoryLimit, &ErrMsg);
255 outs() << "Execute failed: " << ErrMsg << "\n";
257 outs() << "Crashed: " << ErrMsg << "\n";
/external/llvm/utils/not/
H A Dnot.cpp42 std::string ErrMsg; local
44 &ErrMsg);
54 errs() << "Error: " << ErrMsg << "\n";
/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 DGraphWriter.cpp83 std::string &ErrMsg) {
87 &ErrMsg)) {
88 errs() << "Error: " << ErrMsg << "\n";
94 sys::ExecuteNoWait(ExecPath, args.data(), nullptr, nullptr, 0, &ErrMsg);
139 std::string ErrMsg; local
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))
81 ExecGraphViewer(StringRef ExecPath, std::vector<const char *> &args, StringRef Filename, bool wait, std::string &ErrMsg) argument
[all...]
/external/llvm/unittests/Bitcode/
H A DBitReaderTest.cpp33 std::string ErrMsg; local
34 raw_string_ostream OS(ErrMsg);
/external/llvm/lib/ExecutionEngine/
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();
H A DExecutionEngineBindings.cpp364 bool finalizeMemory(std::string *ErrMsg) override;
404 bool SimpleBindingMemoryManager::finalizeMemory(std::string *ErrMsg) { argument
410 if (ErrMsg)
411 *ErrMsg = errMsgCString;
/external/llvm/tools/lli/
H A DRemoteMemoryManager.cpp151 bool RemoteMemoryManager::finalizeMemory(std::string *ErrMsg) { argument
/external/llvm/unittests/Analysis/
H A DLazyCallGraphTest.cpp29 std::string ErrMsg; local
30 raw_string_ostream OS(ErrMsg);
/external/clang/lib/Driver/
H A DJob.cpp217 int Command::Execute(const StringRef **Redirects, std::string *ErrMsg, argument
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, argument
281 int PrimaryStatus = Command::Execute(Redirects, ErrMsg, ExecutionFailed);
285 // Clear ExecutionFailed and ErrMsg before falling back.
286 if (ErrMsg)
287 ErrMsg
[all...]
/external/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h333 /// @param[out] ErrMsg
339 virtual bool finalizeMemory(std::string *ErrMsg) { argument
/external/llvm/lib/Support/Windows/
H A DWindowsSupport.h46 inline bool MakeErrMsg(std::string* ErrMsg, const std::string& prefix) { argument
47 if (!ErrMsg)
54 *ErrMsg = prefix + buffer;
56 *ErrMsg = prefix + "Unknown error";
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp127 bool finalizeMemory(std::string *ErrMsg) override { return false; }
179 std::string ErrMsg; local
180 if (sys::DynamicLibrary::LoadLibraryPermanently(Dylib.c_str(), &ErrMsg))
182 << ErrMsg << "\n"; local
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp224 const Twine &ErrMsg) {
227 return Ctx.emitError(ErrMsg);
232 return Ctx.emitError(I, ErrMsg + AsmError);
234 return Ctx.emitError(I, ErrMsg);
223 diagnosePossiblyInvalidConstraint(LLVMContext &Ctx, const Value *V, const Twine &ErrMsg) argument
/external/llvm/lib/LTO/
H A DLTOModule.cpp152 std::string &ErrMsg) {
158 ErrMsg = EC.message();
163 [&ErrMsg](const DiagnosticInfo &DI) {
164 raw_string_ostream Stream(ErrMsg);
150 parseBitcodeFileImpl(MemoryBufferRef Buffer, LLVMContext &Context, bool ShouldBeLazy, std::string &ErrMsg) argument
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp789 std::string ErrMsg; local
799 &ErrMsg)) {
800 llvm::errs() << "Error viewing graph: " << ErrMsg << "\n";
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp256 std::string ErrMsg; local
257 raw_string_ostream ErrMsgStream(ErrMsg);
269 std::string ErrMsg; local
270 raw_string_ostream ErrMsgStream(ErrMsg);
427 std::string ErrMsg("No known address for symbol '");
428 ErrMsg += Symbol;
429 ErrMsg += "'";
431 ErrMsg += " (this appears to be an assembler local label - "
434 return std::make_pair(EvalResult(ErrMsg), "");
/external/llvm/tools/gold/
H A Dgold-plugin.cpp749 std::string ErrMsg; local
750 const Target *TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrMsg);
752 message(LDPL_FATAL, "Target not found: %s", ErrMsg.c_str());
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp1851 std::string ErrMsg = "looking up intrinsic '" + Name.str() + "("; local
1854 ErrMsg += ", ";
1855 ErrMsg += Types[I].str();
1857 ErrMsg += ")'\n";
1858 ErrMsg += "Available overloads:\n";
1863 ErrMsg += " - " + I->getReturnType().str() + " " + I->getMangledName();
1864 ErrMsg += "(";
1867 ErrMsg += ", ";
1868 ErrMsg += I->getParamType(A).str();
1870 ErrMsg
[all...]
/external/llvm/lib/Target/X86/AsmParser/
H A DX86AsmParser.cpp466 bool onInteger(int64_t TmpInt, StringRef &ErrMsg) { argument
489 ErrMsg = "scale factor in address must be 1, 2, 4 or 8";
800 StringRef &ErrMsg) {
809 ErrMsg = "base register is 64-bit, but index register is not";
816 ErrMsg = "base register is 32-bit, but index register is not";
822 ErrMsg = "base register is 16-bit, but index register is not";
829 ErrMsg = "invalid 16-bit base/index register combination";
1181 StringRef ErrMsg; local
1204 if (SM.onInteger(IntVal, ErrMsg))
1205 return Error(Loc, ErrMsg);
799 CheckBaseRegAndIndexReg(unsigned BaseReg, unsigned IndexReg, StringRef &ErrMsg) argument
1298 StringRef ErrMsg; local
1985 StringRef ErrMsg; local
[all...]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmscgats.c460 char Buffer[256], ErrMsg[1024]; local
468 snprintf(ErrMsg, 1023, "%s: Line %d, %s", it8->FileStack[it8 ->IncludeSP]->FileName, it8->lineno, Buffer);
469 ErrMsg[1023] = 0;
471 cmsSignalError(it8 ->ContextID, cmsERROR_CORRUPTION_DETECTED, "%s", ErrMsg);

Completed in 588 milliseconds