Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/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.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()
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()
558 if (ErrorStr) in create()
[all …]
/freebsd-14.2/contrib/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()
211 ErrorStr = Buf.getError().message(); in addModule()
224 ExpectedSignature, ErrorStr)) in addModule()
H A DASTReader.cpp2544 ErrorStr += Filename; in getInputFile()
2546 ErrorStr += F.FileName; in getInputFile()
2547 ErrorStr += "'"; in getInputFile()
2548 Error(ErrorStr); in getInputFile()
2598 ErrorStr += File->getName(); in getInputFile()
2599 ErrorStr += "'"; in getInputFile()
2600 Error(ErrorStr); in getInputFile()
4711 std::string ErrorStr; in ReadASTCore() local
4716 M, ErrorStr); in ReadASTCore()
4738 << ErrorStr; in ReadASTCore()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp214 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
215 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
218 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
220 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
279 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError() argument
280 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h300 void emitError(uint64_t LocCookie, const Twine &ErrorStr);
301 void emitError(const Instruction *I, const Twine &ErrorStr);
302 void emitError(const Twine &ErrorStr);
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp145 std::string ErrorStr; in main() local
146 raw_string_ostream OS(ErrorStr); in main()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp194 std::string ErrorStr; in llvm_dwp_main() local
211 TargetRegistry::lookupTarget("", *ErrOrTriple, ErrorStr); in llvm_dwp_main()
213 return error(ErrorStr, Context); in llvm_dwp_main()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp71 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyldImpl.h318 std::string ErrorStr; variable
574 StringRef getErrorString() { return ErrorStr; } in getErrorString()
H A DRuntimeDyldChecker.cpp756 std::string ErrorStr; in getTargetInfo() local
758 TargetRegistry::lookupTarget(TripleName, ErrorStr); in getTargetInfo()
761 "': " + ErrorStr, in getTargetInfo()
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.cpp254 raw_string_ostream ErrStream(ErrorStr); in loadObject()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h249 std::string &ErrorStr);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h102 std::string *ErrorStr = nullptr);
/freebsd-14.2/contrib/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()
/freebsd-14.2/contrib/llvm-project/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
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFStreamer.cpp47 std::string ErrorStr; in init() local
52 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
54 return createStringError(std::errc::invalid_argument, ErrorStr.c_str()); in init()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h655 getBufferForFile(StringRef Filename, std::string *ErrorStr = nullptr);
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp768 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile() argument
773 if (ErrorStr) in getBufferForFile()
774 *ErrorStr = Buffer.getError().message(); in getBufferForFile()

12