Searched refs:ErrorStr (Results 1 - 25 of 26) sorted by relevance

12

/external/llvm/utils/FileUpdate/
H A DFileUpdate.cpp72 std::string ErrorStr; local
73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr,
75 if (!ErrorStr.empty()) {
77 << OutputFilename << "': " << ErrorStr << '\n'; local
/external/llvm/lib/IR/
H A DLLVMContext.cpp101 void LLVMContext::emitError(const Twine &ErrorStr) { argument
102 emitError(0U, ErrorStr);
105 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { argument
112 return emitError(LocCookie, ErrorStr);
115 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { argument
118 errs() << "error: " << ErrorStr << "\n";
123 SMDiagnostic Diag("", SourceMgr::DK_Error, ErrorStr.str());
/external/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp61 if (ErrorStr)
62 *ErrorStr = "No available targets are compatible with this -march, "
76 if (ErrorStr)
77 *ErrorStr = Error;
H A DExecutionEngine.cpp44 std::string *ErrorStr,
50 std::string *ErrorStr,
55 std::string *ErrorStr) = 0;
403 std::string *ErrorStr,
410 .setErrorStr(ErrorStr)
421 std::string *ErrorStr,
428 if (ErrorStr)
429 *ErrorStr = "JIT has not been linked in.";
437 EB.setErrorStr(ErrorStr);
446 if (!TM || (ErrorStr
401 create(Module *M, bool ForceInterpreter, std::string *ErrorStr, CodeGenOpt::Level OptLevel, bool GVsWithCode) argument
420 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, CodeGenOpt::Level OL, bool GVsWithCode, Reloc::Model RM, CodeModel::Model CMM) argument
[all...]
/external/llvm/include/llvm/IR/
H A DLLVMContext.h91 void emitError(unsigned LocCookie, const Twine &ErrorStr);
92 void emitError(const Instruction *I, const Twine &ErrorStr);
93 void emitError(const Twine &ErrorStr);
/external/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h139 std::string *ErrorStr,
145 std::string *ErrorStr,
149 static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr);
189 std::string *ErrorStr = 0,
201 std::string *ErrorStr = 0,
501 std::string *ErrorStr; member in class:llvm::EngineBuilder
517 ErrorStr = NULL;
571 ErrorStr = e;
/external/clang/lib/Basic/
H A DFileManager.cpp434 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr, argument
449 if (ErrorStr)
450 *ErrorStr = ec.message();
461 if (ec && ErrorStr)
462 *ErrorStr = ec.message();
469 if (ec && ErrorStr)
470 *ErrorStr = ec.message();
475 getBufferForFile(StringRef Filename, std::string *ErrorStr) { argument
480 if (ec && ErrorStr)
481 *ErrorStr
[all...]
H A DSourceManager.cpp99 std::string ErrorStr; local
102 &ErrorStr,
125 ContentsEntry->getName(), ErrorStr);
128 << ContentsEntry->getName() << ErrorStr;
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h107 std::string *ErrorStr,
H A DMCJIT.cpp41 std::string *ErrorStr,
40 createJIT(Module *M, std::string *ErrorStr, RTDyldMemoryManager *MemMgr, bool GVsWithCode, TargetMachine *TM) argument
/external/clang/include/clang/Basic/
H A DFileManager.h239 std::string *ErrorStr = 0,
242 std::string *ErrorStr = 0);
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h193 std::string ErrorStr; member in class:llvm::RuntimeDyldImpl
197 ErrorStr = Msg.str();
334 StringRef getErrorString() { return ErrorStr; }
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp220 std::string ErrorStr; local
222 if (!sys::Memory::setExecutable(Data, &ErrorStr))
223 return Error("unable to mark function executable: '" + ErrorStr + "'");
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp355 std::string ErrorStr; local
358 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr);
361 << LinkBCFile << ErrorStr; local
365 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr);
368 << LinkBCFile << ErrorStr; local
/external/clang/include/clang/Serialization/
H A DModuleManager.h183 /// \param ErrorStr Will be set to a non-empty string if any errors occurred
193 std::string &ErrorStr);
/external/clang/lib/Serialization/
H A DModuleManager.cpp59 std::string &ErrorStr) {
69 ErrorStr = "file not found";
98 ErrorStr = ec.message();
100 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
54 addModule(StringRef FileName, ModuleKind Type, SourceLocation ImportLoc, ModuleFile *ImportedBy, unsigned Generation, off_t ExpectedSize, time_t ExpectedModTime, ModuleFile *&Module, std::string &ErrorStr) argument
H A DGlobalModuleIndex.cpp471 std::string ErrorStr; local
472 Buffer.reset(FileMgr.getBufferForFile(File, &ErrorStr, /*isVolatile=*/true));
H A DASTReader.cpp1690 std::string ErrorStr = "could not find file '"; local
1691 ErrorStr += Filename;
1692 ErrorStr += "' referenced by AST file";
1693 Error(ErrorStr.c_str());
3069 std::string ErrorStr; local
3073 M, ErrorStr);
3092 + ErrorStr;
3106 + ErrorStr;
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.h186 std::string *ErrorStr,
H A DJIT.cpp208 std::string *ErrorStr,
221 if (ErrorStr)
222 *ErrorStr = "target does not support JIT code generation";
207 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, bool GVsWithCode, TargetMachine *TM) argument
H A DJITMemoryManager.cpp341 virtual bool CheckInvariants(std::string &ErrorStr);
686 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { argument
687 raw_string_ostream Err(ErrorStr);
/external/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp529 std::string ErrorStr = local
533 if (!ErrorStr.empty())
534 return Error(Loc, ErrorStr.c_str());
/external/chromium_org/content/common/gpu/media/
H A Dvaapi_wrapper.cc119 VAAPI_SYM(ErrorStr, vaapi_handle);
442 VAAPI_DLSYM_OR_RETURN_ON_ERROR(ErrorStr, vaapi_handle);
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h111 static ExecutionEngine *create(Module *M, std::string *ErrorStr = 0);
/external/clang/include/clang/Frontend/
H A DASTUnit.h644 std::string *ErrorStr = 0);

Completed in 805 milliseconds

12