Searched defs:ErrorStr (Results 1 - 19 of 19) 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/VMCore/
H A DLLVMContext.cpp91 void LLVMContext::emitError(const Twine &ErrorStr) { argument
92 emitError(0U, ErrorStr);
95 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { argument
102 return emitError(LocCookie, ErrorStr);
105 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { argument
108 errs() << "error: " << ErrorStr << "\n";
113 SMDiagnostic Diag("", SourceMgr::DK_Error, ErrorStr.str());
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.cpp38 std::string *ErrorStr,
37 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, bool GVsWithCode, TargetMachine *TM) argument
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp149 std::string ErrorStr; local
151 if (!sys::Memory::setExecutable(Data, &ErrorStr))
152 return Error("unable to mark function executable: '" + ErrorStr + "'");
/external/clang/lib/Serialization/
H A DModuleManager.cpp39 std::string &ErrorStr) {
42 ErrorStr = "file not found";
68 ErrorStr = ec.message();
70 New->Buffer.reset(FileMgr.getBufferForFile(FileName, &ErrorStr));
37 addModule(StringRef FileName, ModuleKind Type, ModuleFile *ImportedBy, unsigned Generation, std::string &ErrorStr) argument
H A DASTReader.cpp1105 std::string ErrorStr = "could not find file '"; local
1106 ErrorStr += Filename;
1107 ErrorStr += "' referenced by AST file";
1108 Error(ErrorStr.c_str());
2484 std::string ErrorStr = "could not find file '"; local
2485 ErrorStr += Filename;
2486 ErrorStr += "' referenced by AST file";
2487 Error(ErrorStr.c_str());
2739 std::string ErrorStr; local
2741 CurrentGeneration, ErrorStr);
[all...]
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h171 std::string ErrorStr; member in class:llvm::RuntimeDyldImpl
175 ErrorStr = Msg.str();
299 StringRef getErrorString() { return ErrorStr; }
/external/llvm/lib/Object/
H A DMachOObject.cpp95 std::string *ErrorStr) {
108 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid magic)";
115 if (ErrorStr) *ErrorStr = "not a Mach object file (invalid header)";
124 if (ErrorStr) *ErrorStr = "not a Mach object file (unreasonable header)";
128 if (ErrorStr) *ErrorStr = "";
94 LoadFromBuffer(MemoryBuffer *Buffer, std::string *ErrorStr) argument
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp409 std::string ErrorStr; local
416 MachOObject::LoadFromBuffer(InputBuffer.take(), &ErrorStr));
418 return Error("unable to load object: '" + ErrorStr + "'");
/external/clang/lib/Frontend/
H A DFrontendActions.cpp277 std::string ErrorStr; local
279 = FileMgr.getBufferForFile(UmbrellaHeader, &ErrorStr);
282 << UmbrellaHeader->getName() << ErrorStr;
H A DASTUnit.cpp629 std::string *ErrorStr) {
631 return FileMgr->getBufferForFile(Filename, ErrorStr);
628 getBufferForFile(StringRef Filename, std::string *ErrorStr) argument
/external/clang/lib/Basic/
H A DFileManager.cpp495 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr, argument
510 if (ErrorStr)
511 *ErrorStr = ec.message();
522 if (ec && ErrorStr)
523 *ErrorStr = ec.message();
530 if (ec && ErrorStr)
531 *ErrorStr = ec.message();
536 getBufferForFile(StringRef Filename, std::string *ErrorStr) { argument
541 if (ec && ErrorStr)
542 *ErrorStr
[all...]
H A DSourceManager.cpp99 std::string ErrorStr; local
102 &ErrorStr,
125 ContentsEntry->getName(), ErrorStr);
128 << ContentsEntry->getName() << ErrorStr;
/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,
482 std::string *ErrorStr; member in class:llvm::EngineBuilder
497 ErrorStr = NULL;
533 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.cpp337 virtual bool CheckInvariants(std::string &ErrorStr);
699 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { argument
700 raw_string_ostream Err(ErrorStr);
/external/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp450 std::string ErrorStr = local
454 if (!ErrorStr.empty())
455 return Error(Loc, ErrorStr.c_str());
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp336 std::string ErrorStr; local
339 CI.getFileManager().getBufferForFile(LinkBCFile, &ErrorStr);
342 << LinkBCFile << ErrorStr; local
346 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr);
349 << LinkBCFile << ErrorStr; local
/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...]

Completed in 365 milliseconds