Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp54 if (ErrorStr) in selectTarget()
55 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
71 if (ErrorStr) in selectTarget()
72 *ErrorStr = Error; in selectTarget()
H A DExecutionEngine.cpp51 std::unique_ptr<Module> M, std::string *ErrorStr,
57 std::string *ErrorStr) =nullptr;
473 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
511 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
521 if (ErrorStr) in create()
522 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
538 EE = ExecutionEngine::MCJITCtor(std::move(M), ErrorStr, std::move(MemMgr), in create()
551 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
552 if (ErrorStr) in create()
553 *ErrorStr = "Interpreter has not been linked in."; in create()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DModuleManager.cpp80 std::string &ErrorStr) { in checkSignature() argument
84 ErrorStr = in checkSignature()
110 std::string &ErrorStr) { in addModule() argument
126 ErrorStr = "module file out of date"; in addModule()
131 ErrorStr = "module file not found"; in addModule()
160 if (checkSignature(ModuleEntry->Signature, ExpectedSignature, ErrorStr)) in addModule()
222 ErrorStr = Buf.getError().message(); in addModule()
235 ExpectedSignature, ErrorStr)) in addModule()
H A DASTReader.cpp2374 std::string ErrorStr = "could not find file '"; in getInputFile() local
2375 ErrorStr += Filename; in getInputFile()
2376 ErrorStr += "' referenced by AST file '"; in getInputFile()
2377 ErrorStr += F.FileName; in getInputFile()
2378 ErrorStr += "'"; in getInputFile()
2379 Error(ErrorStr); in getInputFile()
2431 std::string ErrorStr = "could not get buffer for file '"; in getInputFile() local
2432 ErrorStr += File->getName(); in getInputFile()
2433 ErrorStr += "'"; in getInputFile()
2434 Error(ErrorStr); in getInputFile()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DLLVMContext.cpp209 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
210 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
213 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
215 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
271 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError() argument
272 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DLLVMContext.h299 void emitError(uint64_t LocCookie, const Twine &ErrorStr);
300 void emitError(const Instruction *I, const Twine &ErrorStr);
301 void emitError(const Twine &ErrorStr);
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h139 std::unique_ptr<Module> M, std::string *ErrorStr,
145 std::string *ErrorStr);
538 std::string *ErrorStr; variable
584 ErrorStr = e; in setErrorStr()
/openbsd-src/gnu/llvm/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp132 std::string ErrorStr; in main() local
149 TargetRegistry::lookupTarget("", *ErrOrTriple, ErrorStr); in main()
151 return error(ErrorStr, Context); in main()
/openbsd-src/gnu/llvm/llvm/tools/llvm-as/
H A Dllvm-as.cpp145 std::string ErrorStr; in main() local
146 raw_string_ostream OS(ErrorStr); in main()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp71 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyldImpl.h318 std::string ErrorStr; variable
568 StringRef getErrorString() { return ErrorStr; } in getErrorString()
H A DRuntimeDyldMachO.cpp376 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyld.cpp133 ErrorStr = toString(std::move(Err)); in resolveRelocations()
H A DRuntimeDyldELF.cpp253 raw_string_ostream ErrStream(ErrorStr); in loadObject()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DModuleManager.h249 std::string &ErrorStr);
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h102 std::string *ErrorStr = nullptr);
/openbsd-src/gnu/llvm/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp787 std::string ErrorStr; in linkAndVerify() local
789 TargetRegistry::lookupTarget("", TheTriple, ErrorStr); in linkAndVerify()
791 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); in linkAndVerify()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp33 std::string ErrorStr; in init() local
39 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
41 return error(ErrorStr, Context), false; in init()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h296 createJIT(std::unique_ptr<Module> M, std::string *ErrorStr,
H A DMCJIT.cpp45 MCJIT::createJIT(std::unique_ptr<Module> M, std::string *ErrorStr, in createJIT() argument
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DASTUnit.h651 getBufferForFile(StringRef Filename, std::string *ErrorStr = nullptr);
/openbsd-src/gnu/llvm/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink.cpp1805 std::string ErrorStr; in getTargetInfo() local
1806 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, ErrorStr); in getTargetInfo()
1809 "': " + ErrorStr, in getTargetInfo()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTUnit.cpp764 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile() argument
769 if (ErrorStr) in getBufferForFile()
770 *ErrorStr = Buffer.getError().message(); in getBufferForFile()
/openbsd-src/gnu/llvm/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp423 bool eatComma(StringRef ErrorStr);
7675 bool MipsAsmParser::eatComma(StringRef ErrorStr) { in eatComma() argument
7679 return Error(Loc, ErrorStr); in eatComma()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp10863 std::string ErrorStr; in getSymbolFunctionGlobalAddress() local
10864 raw_string_ostream ErrorFormatter(ErrorStr); in getSymbolFunctionGlobalAddress()