Home
last modified time | relevance | path

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

/trueos/contrib/llvm/lib/IR/
HDLLVMContext.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()
/trueos/contrib/llvm/tools/clang/lib/Basic/
HDFileManager.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 …]
HDSourceManager.cpp99 std::string ErrorStr; in getBuffer() local
102 &ErrorStr, in getBuffer()
125 ContentsEntry->getName(), ErrorStr); in getBuffer()
128 << ContentsEntry->getName() << ErrorStr; in getBuffer()
/trueos/contrib/llvm/lib/ExecutionEngine/
HDTargetSelect.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()
HDExecutionEngine.cpp50 std::string *ErrorStr,
56 std::string *ErrorStr,
61 std::string *ErrorStr) = 0;
397 std::string *ErrorStr, in create() argument
404 .setErrorStr(ErrorStr) in create()
415 std::string *ErrorStr, in createJIT() argument
422 if (ErrorStr) in createJIT()
423 *ErrorStr = "JIT has not been linked in."; in createJIT()
431 EB.setErrorStr(ErrorStr); in createJIT()
440 if (!TM || (ErrorStr && ErrorStr->length() > 0)) return 0; in createJIT()
[all …]
/trueos/contrib/llvm/include/llvm/ExecutionEngine/
HDExecutionEngine.h138 std::string *ErrorStr,
144 std::string *ErrorStr,
148 static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr);
179 std::string *ErrorStr = 0,
191 std::string *ErrorStr = 0,
513 std::string *ErrorStr; variable
529 ErrorStr = NULL; in InitEngine()
583 ErrorStr = e; in setErrorStr()
/trueos/contrib/llvm/include/llvm/IR/
HDLLVMContext.h91 void emitError(unsigned LocCookie, const Twine &ErrorStr);
92 void emitError(const Instruction *I, const Twine &ErrorStr);
93 void emitError(const Twine &ErrorStr);
/trueos/contrib/llvm/tools/clang/lib/Serialization/
HDModuleManager.cpp59 std::string &ErrorStr) { in addModule() argument
66 ErrorStr = "module file out of date"; in addModule()
71 ErrorStr = "module file not found"; in addModule()
100 ErrorStr = ec.message(); in addModule()
102 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr)); in addModule()
HDGlobalModuleIndex.cpp472 std::string ErrorStr; in loadModuleFile() local
473 Buffer.reset(FileMgr.getBufferForFile(File, &ErrorStr, /*isVolatile=*/true)); in loadModuleFile()
HDASTReader.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()
3072 std::string ErrorStr; in ReadASTCore() local
3076 M, ErrorStr); in ReadASTCore()
3095 + ErrorStr; in ReadASTCore()
3109 + ErrorStr; in ReadASTCore()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.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()
/trueos/contrib/llvm/tools/llvm-rtdyld/
HDllvm-rtdyld.cpp225 std::string ErrorStr; in executeInput() local
227 if (!sys::Memory::setExecutable(Data, &ErrorStr)) in executeInput()
228 return Error("unable to mark function executable: '" + ErrorStr + "'"); in executeInput()
/trueos/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyldImpl.h206 std::string ErrorStr; variable
210 ErrorStr = Msg.str(); in Error()
354 StringRef getErrorString() { return ErrorStr; } in getErrorString()
/trueos/contrib/llvm/tools/clang/include/clang/Basic/
HDFileManager.h239 std::string *ErrorStr = 0,
242 std::string *ErrorStr = 0);
/trueos/contrib/llvm/lib/ExecutionEngine/JIT/
HDJIT.cpp74 std::string *ErrorStr, in createJIT() argument
87 if (ErrorStr) in createJIT()
88 *ErrorStr = "target does not support JIT code generation"; in createJIT()
HDJITMemoryManager.cpp341 virtual bool CheckInvariants(std::string &ErrorStr);
687 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { in CheckInvariants() argument
688 raw_string_ostream Err(ErrorStr); in CheckInvariants()
HDJIT.h186 std::string *ErrorStr,
/trueos/contrib/llvm/tools/clang/include/clang/Serialization/
HDModuleManager.h193 std::string &ErrorStr);
/trueos/contrib/llvm/lib/MC/MCParser/
HDDarwinAsmParser.cpp570 std::string ErrorStr = in ParseDirectiveSection() local
574 if (!ErrorStr.empty()) in ParseDirectiveSection()
575 return Error(Loc, ErrorStr.c_str()); in ParseDirectiveSection()
/trueos/contrib/llvm/lib/ExecutionEngine/Interpreter/
HDInterpreter.h111 static ExecutionEngine *create(Module *M, std::string *ErrorStr = 0);
/trueos/contrib/llvm/lib/ExecutionEngine/MCJIT/
HDMCJIT.h309 std::string *ErrorStr,
HDMCJIT.cpp43 std::string *ErrorStr, in createJIT() argument
/trueos/contrib/llvm/tools/clang/lib/Frontend/
HDCompilerInstance.cpp633 std::string ErrorStr; in InitializeSourceManager() local
635 FileMgr.getBufferForFile(File, &ErrorStr, /*isVolatile=*/true)) { in InitializeSourceManager()
640 Diags.Report(diag::err_cannot_open_file) << InputFile << ErrorStr; in InitializeSourceManager()
HDASTUnit.cpp656 std::string *ErrorStr) { in getBufferForFile() argument
658 return FileMgr->getBufferForFile(Filename, ErrorStr); in getBufferForFile()
/trueos/contrib/llvm/tools/clang/include/clang/Frontend/
HDASTUnit.h644 std::string *ErrorStr = 0);