Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DLLVMContext.cpp101 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
102 emitError(0U, ErrorStr); in emitError()
105 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
112 return emitError(LocCookie, ErrorStr); in emitError()
115 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
118 errs() << "error: " << ErrorStr << "\n"; in emitError()
123 SMDiagnostic Diag("", SourceMgr::DK_Error, ErrorStr.str()); in emitError()
/external/llvm/utils/FileUpdate/
DFileUpdate.cpp72 std::string ErrorStr; in main() local
73 tool_output_file OutStream(OutputFilename.c_str(), ErrorStr, in main()
75 if (!ErrorStr.empty()) { in main()
77 << OutputFilename << "': " << ErrorStr << '\n'; in main()
/external/llvm/lib/ExecutionEngine/
DTargetSelect.cpp61 if (ErrorStr) in selectTarget()
62 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
76 if (ErrorStr) in selectTarget()
77 *ErrorStr = Error; in selectTarget()
DExecutionEngine.cpp44 std::string *ErrorStr,
50 std::string *ErrorStr,
55 std::string *ErrorStr) = 0;
403 std::string *ErrorStr, in create() argument
410 .setErrorStr(ErrorStr) in create()
421 std::string *ErrorStr, in createJIT() argument
428 if (ErrorStr) in createJIT()
429 *ErrorStr = "JIT has not been linked in."; in createJIT()
437 EB.setErrorStr(ErrorStr); in createJIT()
446 if (!TM || (ErrorStr && ErrorStr->length() > 0)) return 0; in createJIT()
[all …]
/external/clang/lib/Basic/
DFileManager.cpp434 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr, in getBufferForFile() argument
449 if (ErrorStr) in getBufferForFile()
450 *ErrorStr = ec.message(); in getBufferForFile()
461 if (ec && ErrorStr) in getBufferForFile()
462 *ErrorStr = ec.message(); in getBufferForFile()
469 if (ec && ErrorStr) in getBufferForFile()
470 *ErrorStr = ec.message(); in getBufferForFile()
475 getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile() argument
480 if (ec && ErrorStr) in getBufferForFile()
481 *ErrorStr = ec.message(); in getBufferForFile()
[all …]
DSourceManager.cpp99 std::string ErrorStr; in getBuffer() local
102 &ErrorStr, in getBuffer()
125 ContentsEntry->getName(), ErrorStr); in getBuffer()
128 << ContentsEntry->getName() << ErrorStr; in getBuffer()
/external/llvm/include/llvm/IR/
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/
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; variable
517 ErrorStr = NULL; in InitEngine()
571 ErrorStr = e; in setErrorStr()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp355 std::string ErrorStr; in CreateASTConsumer() local
358 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr); in CreateASTConsumer()
361 << LinkBCFile << ErrorStr; in CreateASTConsumer()
365 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr); in CreateASTConsumer()
368 << LinkBCFile << ErrorStr; in CreateASTConsumer()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldImpl.h193 std::string ErrorStr; variable
197 ErrorStr = Msg.str(); in Error()
334 StringRef getErrorString() { return ErrorStr; } in getErrorString()
/external/llvm/tools/llvm-rtdyld/
Dllvm-rtdyld.cpp220 std::string ErrorStr; in executeInput() local
222 if (!sys::Memory::setExecutable(Data, &ErrorStr)) in executeInput()
223 return Error("unable to mark function executable: '" + ErrorStr + "'"); in executeInput()
/external/clang/lib/Serialization/
DModuleManager.cpp59 std::string &ErrorStr) { in addModule() argument
69 ErrorStr = "file not found"; in addModule()
98 ErrorStr = ec.message(); in addModule()
100 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr)); in addModule()
DGlobalModuleIndex.cpp471 std::string ErrorStr; in loadModuleFile() local
472 Buffer.reset(FileMgr.getBufferForFile(File, &ErrorStr, /*isVolatile=*/true)); in loadModuleFile()
DASTReader.cpp1690 std::string ErrorStr = "could not find file '"; in getInputFile() local
1691 ErrorStr += Filename; in getInputFile()
1692 ErrorStr += "' referenced by AST file"; in getInputFile()
1693 Error(ErrorStr.c_str()); in getInputFile()
3069 std::string ErrorStr; in ReadASTCore() local
3073 M, ErrorStr); in ReadASTCore()
3092 + ErrorStr; in ReadASTCore()
3106 + ErrorStr; in ReadASTCore()
/external/clang/include/clang/Basic/
DFileManager.h239 std::string *ErrorStr = 0,
242 std::string *ErrorStr = 0);
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h107 std::string *ErrorStr,
DMCJIT.cpp41 std::string *ErrorStr, in createJIT() argument
/external/clang/include/clang/Serialization/
DModuleManager.h193 std::string &ErrorStr);
/external/llvm/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp341 virtual bool CheckInvariants(std::string &ErrorStr);
686 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { in CheckInvariants() argument
687 raw_string_ostream Err(ErrorStr); in CheckInvariants()
DJIT.h186 std::string *ErrorStr,
DJIT.cpp208 std::string *ErrorStr, in createJIT() argument
221 if (ErrorStr) in createJIT()
222 *ErrorStr = "target does not support JIT code generation"; in createJIT()
/external/llvm/lib/MC/MCParser/
DDarwinAsmParser.cpp529 std::string ErrorStr = in ParseDirectiveSection() local
533 if (!ErrorStr.empty()) in ParseDirectiveSection()
534 return Error(Loc, ErrorStr.c_str()); in ParseDirectiveSection()
/external/chromium_org/content/common/gpu/media/
Dvaapi_wrapper.cc131 VAAPI_SYM(ErrorStr, vaapi_handle);
463 VAAPI_DLSYM_OR_RETURN_ON_ERROR(ErrorStr, vaapi_handle); in PostSandboxInitialization()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h111 static ExecutionEngine *create(Module *M, std::string *ErrorStr = 0);
/external/clang/include/clang/Frontend/
DASTUnit.h644 std::string *ErrorStr = 0);

12