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

12

/external/llvm/include/llvm/
H A DLLVMContext.h85 void emitError(unsigned LocCookie, const Twine &ErrorStr);
86 void emitError(const Instruction *I, const Twine &ErrorStr);
87 void emitError(const Twine &ErrorStr);
/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/
H A DTargetSelect.cpp59 *ErrorStr = "No available targets are compatible with this -march, "
73 if (ErrorStr)
74 *ErrorStr = Error;
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/Basic/
H A DFileManager.cpp486 getBufferForFile(const FileEntry *Entry, std::string *ErrorStr) { argument
495 if (ErrorStr)
496 *ErrorStr = ec.message();
507 if (ec && ErrorStr)
508 *ErrorStr = ec.message();
515 if (ec && ErrorStr)
516 *ErrorStr = ec.message();
521 getBufferForFile(StringRef Filename, std::string *ErrorStr) { argument
526 if (ec && ErrorStr)
527 *ErrorStr
[all...]
/external/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp128 std::string ErrorStr; local
130 if (!sys::Memory::setExecutable(Data, &ErrorStr))
131 return Error("unable to mark function executable: '" + 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/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/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h143 std::string ErrorStr; member in class:llvm::RuntimeDyldImpl
147 ErrorStr = Msg.str();
250 StringRef getErrorString() { return ErrorStr; }
/external/clang/include/clang/Serialization/
H A DModuleManager.h100 /// \param ErrorStr Will be set to a non-empty string if any errors occurred
107 unsigned Generation, std::string &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
/external/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h88 std::string *ErrorStr,
H A DMCJIT.cpp37 std::string *ErrorStr,
50 if (ErrorStr)
51 *ErrorStr = "target does not support JIT code generation";
36 createJIT(Module *M, std::string *ErrorStr, JITMemoryManager *JMM, bool GVsWithCode, TargetMachine *TM) argument
/external/clang/include/clang/Basic/
H A DFileManager.h210 std::string *ErrorStr = 0);
212 std::string *ErrorStr = 0);
/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/include/llvm/Object/
H A DMachOObject.h89 /// \param ErrorStr [out] - If given, will be set to a user readable error
93 std::string *ErrorStr = 0);
/external/clang/lib/Frontend/
H A DFrontendActions.cpp272 std::string ErrorStr; local
274 = FileMgr.getBufferForFile(UmbrellaHeader, &ErrorStr);
277 << UmbrellaHeader->getName() << ErrorStr;
/external/llvm/tools/macho-dump/
H A Dmacho-dump.cpp377 std::string ErrorStr; local
384 MachOObject::LoadFromBuffer(InputBuffer.take(), &ErrorStr));
386 return Error("unable to load object: '" + ErrorStr + "'");
/external/llvm/lib/ExecutionEngine/JIT/
H A DJIT.h186 std::string *ErrorStr,
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);
696 bool DefaultJITMemoryManager::CheckInvariants(std::string &ErrorStr) { argument
697 raw_string_ostream Err(ErrorStr);
/external/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp438 std::string ErrorStr = local
442 if (!ErrorStr.empty())
443 return Error(Loc, ErrorStr.c_str());
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h111 static ExecutionEngine *create(Module *M, std::string *ErrorStr = 0);
/external/clang/include/clang/Frontend/
H A DASTUnit.h601 std::string *ErrorStr = 0);

Completed in 512 milliseconds

12