Home
last modified time | relevance | path

Searched refs:ErrorStr (Results 1 – 25 of 28) 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.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 …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContext.cpp221 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
222 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
225 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
227 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
286 void LLVMContext::emitError(uint64_t LocCookie, const Twine &ErrorStr) { in emitError() argument
287 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/
H A DDWARFEmitterImpl.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DLLVMContext.h304 void emitError(uint64_t LocCookie, const Twine &ErrorStr);
305 void emitError(const Instruction *I, const Twine &ErrorStr);
306 void emitError(const Twine &ErrorStr);
/freebsd/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/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/contrib/llvm-project/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp197 std::string ErrorStr; in llvm_dwp_main() local
214 TargetRegistry::lookupTarget("", *ErrOrTriple, ErrorStr); in llvm_dwp_main()
216 return error(ErrorStr, Context); in llvm_dwp_main()
/freebsd/contrib/llvm-project/llvm/tools/llvm-as/
H A Dllvm-as.cpp154 std::string ErrorStr; in main() local
155 raw_string_ostream OS(ErrorStr); in main()
/freebsd/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.cpp762 std::string ErrorStr; in getTargetInfo() local
764 TargetRegistry::lookupTarget(TripleName, ErrorStr); in getTargetInfo()
767 "': " + 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()
/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.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/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.h655 getBufferForFile(StringRef Filename, std::string *ErrorStr = nullptr);
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp2584 std::string ErrorStr = "could not find file '"; in getInputFile() local
2585 ErrorStr += Filename; in getInputFile()
2586 ErrorStr += "' referenced by AST file '"; in getInputFile()
2587 ErrorStr += F.FileName; in getInputFile()
2588 ErrorStr += "'"; in getInputFile()
2589 Error(ErrorStr); in getInputFile()
2638 std::string ErrorStr = "could not get buffer for file '"; in getInputFile() local
2639 ErrorStr += File->getName(); in getInputFile()
2640 ErrorStr += "'"; in getInputFile()
2641 Error(ErrorStr); in getInputFile()
[all …]
/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