Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DTargetSelect.cpp55 if (ErrorStr) in selectTarget()
56 *ErrorStr = "No available targets are compatible with this -march, " in selectTarget()
72 if (ErrorStr) in selectTarget()
73 *ErrorStr = Error; in selectTarget()
H A DExecutionEngine.cpp50 std::unique_ptr<Module> M, std::string *ErrorStr,
56 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MemMgr,
477 : M(std::move(M)), WhichEngine(EngineKind::Either), ErrorStr(nullptr), in EngineBuilder()
516 if (sys::DynamicLibrary::LoadLibraryPermanently(nullptr, ErrorStr)) in create()
526 if (ErrorStr) in create()
527 *ErrorStr = "Cannot create an interpreter with a memory manager."; in create()
561 return ExecutionEngine::InterpCtor(std::move(M), ErrorStr); in create()
562 if (ErrorStr) in create()
563 *ErrorStr = "Interpreter has not been linked in."; in create()
568 if (ErrorStr) in create()
[all …]
/freebsd-12.1/contrib/llvm/lib/IR/
H A DLLVMContext.cpp191 void LLVMContext::emitError(const Twine &ErrorStr) { in emitError() argument
192 diagnose(DiagnosticInfoInlineAsm(ErrorStr)); in emitError()
195 void LLVMContext::emitError(const Instruction *I, const Twine &ErrorStr) { in emitError() argument
197 diagnose(DiagnosticInfoInlineAsm(*I, ErrorStr)); in emitError()
257 void LLVMContext::emitError(unsigned LocCookie, const Twine &ErrorStr) { in emitError() argument
258 diagnose(DiagnosticInfoInlineAsm(LocCookie, ErrorStr)); in emitError()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DModuleManager.cpp79 std::string &ErrorStr) { in checkSignature() argument
83 ErrorStr = in checkSignature()
109 std::string &ErrorStr) { in addModule() argument
123 ErrorStr = "module file out of date"; in addModule()
128 ErrorStr = "module file not found"; in addModule()
135 if (checkSignature(ModuleEntry->Signature, ExpectedSignature, ErrorStr)) in addModule()
185 ErrorStr = Buf.getError().message(); in addModule()
198 ExpectedSignature, ErrorStr)) { in addModule()
H A DASTReader.cpp2139 std::string ErrorStr = "could not find file '"; in getInputFile() local
2140 ErrorStr += Filename; in getInputFile()
2141 ErrorStr += "' referenced by AST file '"; in getInputFile()
2142 ErrorStr += F.FileName; in getInputFile()
2143 ErrorStr += "'"; in getInputFile()
2144 Error(ErrorStr); in getInputFile()
4136 std::string ErrorStr; in ReadASTCore() local
4141 M, ErrorStr); in ReadASTCore()
4159 << FileName << !ErrorStr.empty() in ReadASTCore()
4160 << ErrorStr; in ReadASTCore()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DLLVMContext.h307 void emitError(unsigned LocCookie, const Twine &ErrorStr);
308 void emitError(const Instruction *I, const Twine &ErrorStr);
309 void emitError(const Twine &ErrorStr);
/freebsd-12.1/contrib/llvm/include/llvm/ExecutionEngine/
H A DExecutionEngine.h140 std::unique_ptr<Module> M, std::string *ErrorStr,
146 std::string *ErrorStr, std::shared_ptr<MCJITMemoryManager> MM,
151 std::string *ErrorStr);
530 std::string *ErrorStr; variable
577 ErrorStr = e; in setErrorStr()
/freebsd-12.1/contrib/llvm/tools/llvm-as/
H A Dllvm-as.cpp127 std::string ErrorStr; in main() local
128 raw_string_ostream OS(ErrorStr); in main()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldCOFF.cpp68 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyldImpl.h320 std::string ErrorStr; variable
559 StringRef getErrorString() { return ErrorStr; } in getErrorString()
H A DRuntimeDyldMachO.cpp372 raw_string_ostream ErrStream(ErrorStr); in loadObject()
H A DRuntimeDyld.cpp134 ErrorStr = toString(std::move(Err)); in resolveRelocations()
H A DRuntimeDyldELF.cpp257 raw_string_ostream ErrStream(ErrorStr); in loadObject()
/freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp652 std::string ErrorStr; in linkAndVerify() local
654 TargetRegistry::lookupTarget("", TheTriple, ErrorStr); in linkAndVerify()
656 ErrorAndExit("Error accessing target '" + TripleName + "': " + ErrorStr); in linkAndVerify()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/
H A DModuleManager.h256 std::string &ErrorStr);
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DDarwinAsmParser.cpp693 std::string ErrorStr = in parseDirectiveSection() local
697 if (!ErrorStr.empty()) in parseDirectiveSection()
698 return Error(Loc, ErrorStr); in parseDirectiveSection()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Interpreter/
H A DInterpreter.h104 std::string *ErrorStr = nullptr);
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h305 createJIT(std::unique_ptr<Module> M, std::string *ErrorStr,
H A DMCJIT.cpp43 MCJIT::createJIT(std::unique_ptr<Module> M, std::string *ErrorStr, in createJIT() argument
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DASTUnit.h645 getBufferForFile(StringRef Filename, std::string *ErrorStr = nullptr);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp715 ASTUnit::getBufferForFile(StringRef Filename, std::string *ErrorStr) { in getBufferForFile() argument
720 if (ErrorStr) in getBufferForFile()
721 *ErrorStr = Buffer.getError().message(); in getBufferForFile()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp373 bool eatComma(StringRef ErrorStr);
6996 bool MipsAsmParser::eatComma(StringRef ErrorStr) { in eatComma() argument
7000 return Error(Loc, ErrorStr); in eatComma()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp8541 std::string ErrorStr; in getSymbolFunctionGlobalAddress() local
8542 raw_string_ostream ErrorFormatter(ErrorStr); in getSymbolFunctionGlobalAddress()
8548 report_fatal_error(ErrorStr); in getSymbolFunctionGlobalAddress()