Searched defs:ErrorStr (Results 1 - 20 of 20) sorted by relevance

/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/MCJIT/
H A DMCJIT.cpp40 std::string *ErrorStr,
39 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, bool GVsWithCode, TargetMachine *TM) argument
/external/llvm/lib/Object/
H A DMachOObject.cpp96 std::string *ErrorStr) {
109 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)";
116 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid header)";
125 if (ErrorStr) *ErrorStr = "not a Mach object file (unreasonable header)";
129 if (ErrorStr) *ErrorStr = "";
95 LoadFromBuffer(MemoryBuffer *Buffer, std::string *ErrorStr) argument
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp104 const char *FlagStr, *ErrorStr; member in struct:__anon10032
119 checkError((Section.*Work[I].MemF)(B), Work[I].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/llvm/tools/macho-dump/
H A Dmacho-dump.cpp437 std::string ErrorStr; local
444 MachOObject::LoadFromBuffer(InputBuffer.take(), &ErrorStr));
446 return Error("unable to load object: '" + ErrorStr + "'");
/external/clang/lib/Basic/
H A DFileManager.cpp501 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr, argument
516 if (ErrorStr)
517 *ErrorStr = ec.message();
528 if (ec && ErrorStr)
529 *ErrorStr = ec.message();
536 if (ec && ErrorStr)
537 *ErrorStr = ec.message();
542 getBufferForFile(StringRef Filename, std::string *ErrorStr) { argument
547 if (ec && ErrorStr)
548 *ErrorStr
[all...]
H A DSourceManager.cpp99 std::string ErrorStr; local
102 &ErrorStr,
125 ContentsEntry->getName(), ErrorStr);
128 << ContentsEntry->getName() << ErrorStr;
/external/clang/lib/Serialization/
H A DModuleManager.cpp42 unsigned Generation, std::string &ErrorStr) {
46 ErrorStr = "file not found";
75 ErrorStr = ec.message();
77 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
40 addModule(StringRef FileName, ModuleKind Type, SourceLocation ImportLoc, ModuleFile *ImportedBy, unsigned Generation, std::string &ErrorStr) argument
H A DGlobalModuleIndex.cpp540 std::string ErrorStr; local
541 Buffer.reset(FileMgr.getBufferForFile(File, &ErrorStr, /*isVolatile=*/true));
H A DASTReader.cpp1582 std::string ErrorStr = "could not find file '"; local
1583 ErrorStr += Filename;
1584 ErrorStr += "' referenced by AST file";
1585 Error(ErrorStr.c_str());
2929 std::string ErrorStr; local
2932 ErrorStr);
2937 + ErrorStr;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h180 std::string ErrorStr; member in class:llvm::RuntimeDyldImpl
184 ErrorStr = Msg.str();
336 StringRef getErrorString() { return ErrorStr; }
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp338 std::string ErrorStr; local
341 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr);
344 << LinkBCFile << ErrorStr; local
348 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr);
351 << LinkBCFile << ErrorStr; local
/external/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h136 std::string *ErrorStr,
142 std::string *ErrorStr,
146 static ExecutionEngine *(*InterpCtor)(Module *M, std::string *ErrorStr);
186 std::string *ErrorStr = 0,
198 std::string *ErrorStr = 0,
489 std::string *ErrorStr; member in class:llvm::EngineBuilder
504 ErrorStr = NULL;
540 ErrorStr = e;
/external/llvm/lib/ExecutionEngine/JIT/
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);
707 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { argument
708 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/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp43 std::string *ErrorStr,
49 std::string *ErrorStr,
54 std::string *ErrorStr) = 0;
402 std::string *ErrorStr,
409 .setErrorStr(ErrorStr)
420 std::string *ErrorStr,
427 if (ErrorStr)
428 *ErrorStr = "JIT has not been linked in.";
436 EB.setErrorStr(ErrorStr);
445 if (!TM || (ErrorStr
400 create(Module *M, bool ForceInterpreter, std::string *ErrorStr, CodeGenOpt::Level OptLevel, bool GVsWithCode) argument
419 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, CodeGenOpt::Level OL, bool GVsWithCode, Reloc::Model RM, CodeModel::Model CMM) argument
[all...]
/external/clang/lib/Frontend/
H A DASTUnit.cpp648 std::string *ErrorStr) {
650 return FileMgr->getBufferForFile(Filename, ErrorStr);
647 getBufferForFile(StringRef Filename, std::string *ErrorStr) argument

Completed in 375 milliseconds