Home
last modified time | relevance | path

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

12

/llvm-project/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.cpp50 std::unique_ptr<Module> M, std::string *ErrorStr,
56 std::string *ErrorStr) =nullptr;
472 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
510 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
520 if (ErrorStr) in create()
521 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
537 EE = ExecutionEngine::MCJITCtor(std::move(M), ErrorStr, std::move(MemMgr), in create()
550 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
551 if (ErrorStr) in create()
552 *ErrorStr in create()
[all...]
/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp76 std::string &ErrorStr) { in checkSignature() argument
80 ErrorStr = in checkSignature()
106 std::string &ErrorStr) { in addModule() argument
122 ErrorStr = "module file out of date"; in addModule()
127 ErrorStr = "module file not found"; in addModule()
156 if (checkSignature(ModuleEntry->Signature, ExpectedSignature, ErrorStr)) in addModule()
212 ErrorStr = Buf.getError().message(); in addModule()
225 ExpectedSignature, ErrorStr)) in addModule()
/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp206 void LLVMContext::emitError(const Twine &ErrorStr) { in getDiagnosticContext()
207 diagnose(DiagnosticInfoGeneric(ErrorStr)); in getDiagnosticContext()
210 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in setYieldCallback()
212 diagnose(DiagnosticInfoGeneric(I, ErrorStr)); in setYieldCallback()
221 emitError(const Twine & ErrorStr) emitError() argument
225 emitError(const Instruction * I,const Twine & ErrorStr) emitError() argument
286 emitError(uint64_t LocCookie,const Twine & ErrorStr) emitError() argument
/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h308 void emitError(const Instruction *I, const Twine &ErrorStr);
309 void emitError(const Twine &ErrorStr);
/llvm-project/llvm/unittests/MC/
H A DMCInstPrinter.cpp35 std::string ErrorStr; in MCInstPrinterTest() local
38 TargetRegistry::lookupTarget(TripleName, ErrorStr); in MCInstPrinterTest()
/llvm-project/llvm/unittests/Remarks/
H A DYAMLRemarksParsingTest.cpp60 std::string ErrorStr; in parseExpectError() local
61 raw_string_ostream Stream(ErrorStr); in parseExpectError()
75 std::string ErrorStr; in parseExpectErrorMeta() local
76 raw_string_ostream Stream(ErrorStr); in parseExpectErrorMeta()
670 std::string ErrorStr; in TEST() local
671 raw_string_ostream Stream(ErrorStr); in TEST()
/llvm-project/llvm/unittests/CodeGen/
H A DTestAsmPrinter.cpp34 std::string ErrorStr; in create() local
35 const Target *TheTarget = TargetRegistry::lookupTarget(TripleStr, ErrorStr); in create()
/llvm-project/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()
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFExpressionCompactPrinterTest.cpp36 std::string ErrorStr; in DWARFExpressionCompactPrinterTest() local
39 TargetRegistry::lookupTarget(TripleName, ErrorStr); in DWARFExpressionCompactPrinterTest()
H A DDWARFExpressionCopyBytesTest.cpp59 std::string ErrorStr; in DWARFExpressionCopyBytesTest() local
60 TheTarget = TargetRegistry::lookupTarget(TripleName, ErrorStr); in DWARFExpressionCopyBytesTest()
H A DDwarfGenerator.cpp445 std::string ErrorStr; in init() local
450 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
452 return make_error<StringError>(ErrorStr, inconvertibleErrorCode()); in init()
/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp26 std::string ErrorStr; in init() local
31 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
33 return createStringError(std::errc::invalid_argument, ErrorStr.c_str()); in init()
H A DDebugLineSectionEmitter.h65 std::string ErrorStr; in init() local
70 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
72 return createStringError(std::errc::invalid_argument, ErrorStr.c_str()); in init()
/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp199 std::string ErrorStr; in llvm_dwp_main()
216 TargetRegistry::lookupTarget("", *ErrOrTriple, ErrorStr); in llvm_dwp_main()
218 return error(ErrorStr, Context); in llvm_dwp_main()
197 std::string ErrorStr; llvm_dwp_main() local
/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp153 std::string ErrorStr; in main()
154 raw_string_ostream OS(ErrorStr); in main() local
/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp70 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyldImpl.h319 std::string ErrorStr;
585 StringRef getErrorString() { return ErrorStr; }
318 std::string ErrorStr; global() variable
H A DRuntimeDyldChecker.cpp761 std::string ErrorStr; in getTargetInfo()
763 TargetRegistry::lookupTarget(TripleName, ErrorStr); in getTargetInfo()
766 "': " + ErrorStr, in getTargetInfo()
762 std::string ErrorStr; getTargetInfo() local
H A DRuntimeDyldMachO.cpp375 raw_string_ostream ErrStream(ErrorStr); in loadObject()
/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h248 std::string &ErrorStr);
/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h102 std::string *ErrorStr = nullptr);
/llvm-project/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()
/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h296 createJIT(std::unique_ptr<Module> M, std::string *ErrorStr,
/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp46 std::string ErrorStr; in init() local
51 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
53 return createStringError(std::errc::invalid_argument, ErrorStr.c_str()); in init()

12