/external/llvm/utils/FileUpdate/ |
H A D | FileUpdate.cpp | 72 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 D | LLVMContext.cpp | 91 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 D | MCJIT.cpp | 38 std::string *ErrorStr, 37 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, bool GVsWithCode, TargetMachine *TM) argument
|
/external/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 149 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 D | ModuleManager.cpp | 39 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 D | ASTReader.cpp | 1105 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 D | RuntimeDyldImpl.h | 171 std::string ErrorStr; member in class:llvm::RuntimeDyldImpl 175 ErrorStr = Msg.str(); 299 StringRef getErrorString() { return ErrorStr; }
|
/external/llvm/lib/Object/ |
H A D | MachOObject.cpp | 95 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 D | macho-dump.cpp | 409 std::string ErrorStr; local 416 MachOObject::LoadFromBuffer(InputBuffer.take(), &ErrorStr)); 418 return Error("unable to load object: '" + ErrorStr + "'");
|
/external/clang/lib/Frontend/ |
H A D | FrontendActions.cpp | 277 std::string ErrorStr; local 279 = FileMgr.getBufferForFile(UmbrellaHeader, &ErrorStr); 282 << UmbrellaHeader->getName() << ErrorStr;
|
H A D | ASTUnit.cpp | 629 std::string *ErrorStr) { 631 return FileMgr->getBufferForFile(Filename, ErrorStr); 628 getBufferForFile(StringRef Filename, std::string *ErrorStr) argument
|
/external/clang/lib/Basic/ |
H A D | FileManager.cpp | 495 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 D | SourceManager.cpp | 99 std::string ErrorStr; local 102 &ErrorStr, 125 ContentsEntry->getName(), ErrorStr); 128 << ContentsEntry->getName() << ErrorStr;
|
/external/llvm/include/llvm/ExecutionEngine/ |
H A D | ExecutionEngine.h | 136 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 D | JIT.cpp | 208 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 D | JITMemoryManager.cpp | 337 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 D | DarwinAsmParser.cpp | 450 std::string ErrorStr = local 454 if (!ErrorStr.empty()) 455 return Error(Loc, ErrorStr.c_str());
|
/external/clang/lib/CodeGen/ |
H A D | CodeGenAction.cpp | 336 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 D | ExecutionEngine.cpp | 43 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...] |