Home
last modified time | relevance | path

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

12

/freebsd/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.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 = "Interpreter has not been linked in."; in create()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DModuleManager.cpp75 std::string &ErrorStr) { in checkSignature() argument
79 ErrorStr = in checkSignature()
105 std::string &ErrorStr) { in addModule() argument
125 ErrorStr = IgnoreModTime ? "module file has a different size than expected" in addModule()
132 ErrorStr = "module file not found"; in addModule()
161 if (checkSignature(ModuleEntry->Signature, ExpectedSignature, ErrorStr)) in addModule()
214 ErrorStr = Buf.getError().message(); in addModule()
228 ExpectedSignature, ErrorStr)) in addModule()
H A DASTReader.cpp2752 std::string ErrorStr = "could not find file '"; in getInputFile() local
2753 ErrorStr += *Filename; in getInputFile()
2754 ErrorStr += "' referenced by AST file '"; in getInputFile()
2755 ErrorStr += F.FileName; in getInputFile()
2756 ErrorStr += "'"; in getInputFile()
2757 Error(ErrorStr); in getInputFile()
2806 std::string ErrorStr = "could not get buffer for file '"; in getInputFile() local
2807 ErrorStr += File->getName(); in getInputFile()
2808 ErrorStr += "'"; in getInputFile()
2809 Error(ErrorStr); in getInputFile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.cpp
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp206 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
207 diagnose(DiagnosticInfoGeneric(ErrorStr)); in emitError()
210 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
212 diagnose(DiagnosticInfoGeneric(I, ErrorStr)); in emitError()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h140 std::unique_ptr<Module> M, std::string *ErrorStr,
146 std::string *ErrorStr);
539 std::string *ErrorStr; variable
587 ErrorStr = e; in setErrorStr()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFEmitterImpl.cpp27 std::string ErrorStr; in init() local
32 TargetRegistry::lookupTarget(TripleName, TheTriple, ErrorStr); in init()
34 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/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp147 std::string ErrorStr; in main() local
148 raw_string_ostream OS(ErrorStr); in main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp199 std::string ErrorStr; in llvm_dwp_main() local
216 TargetRegistry::lookupTarget("", *ErrOrTriple, ErrorStr); in llvm_dwp_main()
218 return error(ErrorStr, Context); in llvm_dwp_main()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h314 LLVM_ABI void emitError(const Instruction *I, const Twine &ErrorStr);
315 LLVM_ABI void emitError(const Twine &ErrorStr);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp70 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyldImpl.h313 std::string ErrorStr; variable
579 StringRef getErrorString() { return ErrorStr; } in getErrorString()
H A DRuntimeDyldChecker.cpp761 std::string ErrorStr; in getTargetInfo() local
763 TargetRegistry::lookupTarget(TripleName, ErrorStr); in getTargetInfo()
766 "': " + ErrorStr, in getTargetInfo()
H A DRuntimeDyldMachO.cpp375 raw_string_ostream ErrStream(ErrorStr); in loadObject()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h248 std::string &ErrorStr);
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h102 std::string *ErrorStr = nullptr);
/freebsd/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/contrib/llvm-project/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h295 createJIT(std::unique_ptr<Module> M, std::string *ErrorStr,
H A DMCJIT.cpp44 MCJIT::createJIT(std::unique_ptr<Module> M, std::string *ErrorStr, in createJIT() argument
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp
/freebsd/contrib/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()
/freebsd/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h667 getBufferForFile(StringRef Filename, std::string *ErrorStr = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp779 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile() argument
784 if (ErrorStr) in getBufferForFile()
785 *ErrorStr = Buffer.getError().message(); in getBufferForFile()

12