Home
last modified time | relevance | path

Searched refs:StringError (Results 1 – 25 of 202) sorted by relevance

123456789

/openbsd/gnu/llvm/llvm/lib/Support/
H A DError.cpp60 char StringError::ID = 0;
121 StringError::StringError(std::error_code EC, const Twine &S) in StringError() function in llvm::StringError
124 StringError::StringError(const Twine &S, std::error_code EC) in StringError() function in llvm::StringError
127 void StringError::log(raw_ostream &OS) const { in log()
137 std::error_code StringError::convertToErrorCode() const { in convertToErrorCode()
142 return make_error<StringError>(Msg, EC); in createStringError()
174 return reinterpret_cast<void *>(&StringError::ID); in LLVMGetStringErrorTypeId()
178 return wrap(make_error<StringError>(ErrMsg, inconvertibleErrorCode())); in LLVMCreateStringError()
H A DCachePruning.cpp54 return make_error<StringError>("Duration must not be empty", in parseDuration()
60 return make_error<StringError>("'" + NumStr + "' not an integer", in parseDuration()
71 return make_error<StringError>("'" + Duration + in parseDuration()
98 return make_error<StringError>("'" + Value + "' must be a percentage", in parseCachePruningPolicy()
103 return make_error<StringError>("'" + SizeStr + "' not an integer", in parseCachePruningPolicy()
106 return make_error<StringError>("'" + SizeStr + in parseCachePruningPolicy()
128 return make_error<StringError>("'" + Value + "' not an integer", in parseCachePruningPolicy()
133 return make_error<StringError>("'" + Value + "' not an integer", in parseCachePruningPolicy()
136 return make_error<StringError>("Unknown key: '" + Key + "'", in parseCachePruningPolicy()
/openbsd/gnu/llvm/llvm/tools/llvm-jitlink/
H A Dllvm-jitlink-coff.cpp31 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" + in getFirstRelocationEdge()
44 return make_error<StringError>( in getCOFFGOTTarget()
59 return make_error<StringError>( in getCOFFStubTarget()
71 return make_error<StringError>("When -check is passed, file names must be " in registerCOFFGraphInfo()
92 return make_error<StringError>("Encountered duplicate section name \"" + in registerCOFFGraphInfo()
113 return make_error<StringError>("zero-fill atom in GOT section", in registerCOFFGraphInfo()
128 return make_error<StringError>("zero-fill atom in Stub section", in registerCOFFGraphInfo()
158 return make_error<StringError>("Mixed zero-fill and content sections not " in registerCOFFGraphInfo()
H A Dllvm-jitlink-elf.cpp31 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" + in getFirstRelocationEdge()
44 return make_error<StringError>( in getELFGOTTarget()
59 return make_error<StringError>( in getELFStubTarget()
72 return make_error<StringError>("When -check is passed, file names must be " in registerELFGraphInfo()
94 return make_error<StringError>("Encountered duplicate section name \"" + in registerELFGraphInfo()
115 return make_error<StringError>("zero-fill atom in GOT section", in registerELFGraphInfo()
130 return make_error<StringError>("zero-fill atom in Stub section", in registerELFGraphInfo()
160 return make_error<StringError>("Mixed zero-fill and content sections not " in registerELFGraphInfo()
H A Dllvm-jitlink-macho.cpp33 return make_error<StringError>("GOT entry in " + G.getName() + ", \"" + in getFirstRelocationEdge()
46 return make_error<StringError>( in getMachOGOTTarget()
61 return make_error<StringError>( in getMachOStubTarget()
74 return make_error<StringError>("When -check is passed, file names must be " in registerMachOGraphInfo()
96 return make_error<StringError>("Encountered duplicate section name \"" + in registerMachOGraphInfo()
116 return make_error<StringError>("zero-fill atom in GOT section", in registerMachOGraphInfo()
127 return make_error<StringError>("zero-fill atom in Stub section", in registerMachOGraphInfo()
155 return make_error<StringError>("Mixed zero-fill and content sections not " in registerMachOGraphInfo()
H A Dllvm-jitlink.cpp723 return make_error<StringError>( in launchExecutor()
793 return make_error<StringError>( in createTCPSocketError()
845 return make_error<StringError>( in connectToExecutor()
1268 return make_error<StringError>( in sanitizeArguments()
1277 return make_error<StringError>( in sanitizeArguments()
1295 return make_error<StringError>( in sanitizeArguments()
1314 return make_error<StringError>( in sanitizeArguments()
1644 return make_error<StringError>( in addLibraries()
1853 ExitOnErr(make_error<StringError>( in getTargetInfo()
1860 ExitOnErr(make_error<StringError>( in getTargetInfo()
[all …]
/openbsd/gnu/llvm/lldb/source/Plugins/ScriptInterpreter/Lua/
H A DLua.cpp54 llvm::Error e = llvm::make_error<llvm::StringError>( in Run()
67 llvm::Error e = llvm::make_error<llvm::StringError>( in RegisterBreakpointCallback()
95 llvm::Error e = llvm::make_error<llvm::StringError>( in RegisterWatchpointCallback()
125 llvm::Error e = llvm::make_error<llvm::StringError>( in CheckSyntax()
136 return llvm::make_error<llvm::StringError>("invalid path", in LoadModule()
142 return llvm::make_error<llvm::StringError>("invalid extension", in LoadModule()
149 llvm::Error e = llvm::make_error<llvm::StringError>( in LoadModule()
175 return llvm::make_error<llvm::StringError>("could not get stdout", in ChangeIO()
186 return llvm::make_error<llvm::StringError>("could not get stderr", in ChangeIO()
/openbsd/gnu/llvm/llvm/examples/OrcV2Examples/LLJITWithRemoteDebugging/
H A DRemoteJITUtils.cpp70 return make_error<StringError>( in launchLocalExecutor()
78 return make_error<StringError>( in connectTCPSocket()
91 return make_error<StringError>( in launchLocalExecutor()
101 return make_error<StringError>("Unable to create pipe for executor", in launchLocalExecutor()
129 return make_error<StringError>( in launchLocalExecutor()
160 return make_error<StringError>( in connectTCPSocketImpl()
184 return make_error<StringError>("invalid hostname", in connectTCPSocketImpl()
193 return make_error<StringError>( in connectTCPSocket()
/openbsd/gnu/llvm/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp74 return make_error<StringError>( in read()
83 return make_error<StringError>( in read()
178 return make_error<StringError>( in read()
184 return make_error<StringError>( in readRaw()
194 return make_error<StringError>( in readInt()
204 return make_error<StringError>( in readUInt()
214 return make_error<StringError>( in readLength()
224 return make_error<StringError>( in readExt()
234 return make_error<StringError>( in createRaw()
244 return make_error<StringError>( in createExt()
[all …]
/openbsd/gnu/llvm/llvm/lib/Passes/
H A DPassPlugin.cpp21 return make_error<StringError>(Twine("Could not load library '") + in Load()
35 return make_error<StringError>(Twine("Plugin entry point not found in '") + in Load()
42 return make_error<StringError>( in Load()
49 return make_error<StringError>(Twine("Empty entry callback in plugin '") + in Load()
H A DPassBuilder.cpp863 return make_error<StringError>( in parseSROAOptions()
1168 return make_error<StringError>( in parseModulePass()
1301 return make_error<StringError>( in parseModulePass()
1351 return make_error<StringError>( in parseCGSCCPass()
1423 return make_error<StringError>( in parseCGSCCPass()
1472 return make_error<StringError>( in parseFunctionPass()
1531 return make_error<StringError>( in parseFunctionPass()
1564 return make_error<StringError>( in parseLoopPass()
1687 return make_error<StringError>( in parsePassPipeline()
1735 return make_error<StringError>( in parsePassPipeline()
[all …]
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorDylibManager.cpp27 return make_error<StringError>("open: non-zero mode bits not yet supported", in open()
35 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode()); in open()
52 return make_error<StringError>("Required address for empty symbol \"\"", in lookup()
61 return make_error<StringError>(Twine("MachO symbol \"") + E.Name + in lookup()
69 return make_error<StringError>(Twine("Missing definition for ") + in lookup()
H A DSimpleExecutorMemoryManager.cpp46 return make_error<StringError>("Finalization actions attached to empty " in finalize()
64 return make_error<StringError>("Attempt to finalize unrecognized " in finalize()
87 make_error<StringError>("No allocation entry found " in finalize()
114 return BailOut(make_error<StringError>( in finalize()
121 return BailOut(make_error<StringError>( in finalize()
170 make_error<StringError>("No allocation entry found " in deallocate()
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp54 return make_error<StringError>("Invalid input file descriptor " + in Create()
58 return make_error<StringError>("Invalid output file descriptor " + in Create()
65 return make_error<StringError>("FD-based SimpleRemoteEPC transport requires " in Create()
102 return make_error<StringError>("FD-transport disconnected", in sendMessage()
134 return make_error<StringError>("Unexpected end-of-file", in makeUnexpectedEOFError()
219 make_error<StringError>("Message size too small", in listenLoop()
/openbsd/gnu/llvm/llvm/lib/XRay/
H A DProfile.cpp57 return make_error<StringError>( in readBlockHeader()
64 return make_error<StringError>( in readBlockHeader()
71 return make_error<StringError>( in readBlockHeader()
87 return make_error<StringError>( in readPath()
105 return make_error<StringError>( in readData()
112 return make_error<StringError>( in readData()
123 return make_error<StringError>( in addBlock()
134 return make_error<StringError>( in expandPath()
269 return make_error<StringError>( in loadProfile()
278 return make_error<StringError>( in loadProfile()
H A DTrace.cpp38 return make_error<StringError>( in loadNaiveFormatLog()
43 return make_error<StringError>( in loadNaiveFormatLog()
354 return make_error<StringError>("Failed loading YAML Data.", In.error()); in loadYAMLLog()
363 return make_error<StringError>( in loadYAMLLog()
385 return make_error<StringError>( in loadTraceFile()
389 return make_error<StringError>( in loadTraceFile()
401 return make_error<StringError>( in loadTraceFile()
447 return make_error<StringError>( in loadTrace()
459 return make_error<StringError>( in loadTrace()
/openbsd/gnu/llvm/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp192 return make_error<StringError>( in readIFSFromBuffer()
228 return make_error<StringError>( in overrideIFSTarget()
236 return make_error<StringError>( in overrideIFSTarget()
243 return make_error<StringError>( in overrideIFSTarget()
250 return make_error<StringError>( in overrideIFSTarget()
263 return make_error<StringError>( in validateIFSTarget()
278 return make_error<StringError>("Arch is not defined in the text stub", in validateIFSTarget()
282 return make_error<StringError>("BitWidth is not defined in the text stub", in validateIFSTarget()
286 return make_error<StringError>( in validateIFSTarget()
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/
H A DX86Counter.cpp117 return llvm::make_error<llvm::StringError>("Unable to parse databuffer.", in parseDataBuffer()
191 return llvm::make_error<llvm::StringError>( in checkLbrSupport()
204 return llvm::make_error<llvm::StringError>("Empty function bytes", in readOrError()
229 return llvm::make_error<llvm::StringError>("Cannot poll LBR perf event.", in doReadCounter()
232 return llvm::make_error<llvm::StringError>( in doReadCounter()
246 return llvm::make_error<llvm::StringError>( in doReadCounter()
/openbsd/gnu/llvm/compiler-rt/lib/orc/
H A Dmacho_platform.cpp428 return make_error<StringError>( in initialize()
460 return make_error<StringError>(ErrStream.str()); in registerJITDylib()
466 return make_error<StringError>(ErrStream.str()); in registerJITDylib()
482 return make_error<StringError>(ErrStream.str()); in deregisterJITDylib()
545 return make_error<StringError>(ErrStream.str()); in registerObjectPlatformSections()
604 return make_error<StringError>( in registerObjectPlatformSections()
632 return make_error<StringError>(ErrStream.str()); in deregisterObjectPlatformSections()
693 return make_error<StringError>( in deregisterObjectPlatformSections()
956 return make_error<StringError>( in registerObjCClasses()
988 return make_error<StringError>( in registerSwift5ProtocolConformances()
[all …]
H A Dwrapper_function_utils.h242 return make_error<StringError>( in deserialize()
256 return make_error<StringError>( in deserialize()
273 return make_error<StringError>( in deserialize()
300 return make_error<StringError>("__orc_rt_jit_dispatch_ctx not set"); in call()
302 return make_error<StringError>("__orc_rt_jit_dispatch not set"); in call()
307 return make_error<StringError>(ErrMsg); in call()
312 return make_error<StringError>(ErrMsg); in call()
415 return make_error<StringError>("Cannot serialize arguments for " in Create()
448 return make_error<StringError>(ErrMsg); in runWithSPSRet()
451 return make_error<StringError>("Could not deserialize result from " in runWithSPSRet()
H A Dcoff_platform.cpp199 return make_error<StringError>(ErrStream.str()); in registerJITDylib()
205 return make_error<StringError>(ErrStream.str()); in registerJITDylib()
221 return make_error<StringError>(ErrStream.str()); in deregisterJITDylib()
301 return make_error<StringError>("No registered JTIDylib for path " + in dlopenImpl()
337 return make_error<StringError>(ErrStream.str()); in dlopenFull()
370 return make_error<StringError>(ErrStream.str()); in dlopenInitialize()
399 return make_error<StringError>(ErrStream.str()); in dlcloseImpl()
465 return make_error<StringError>(ErrStream.str()); in registerObjectSections()
510 return make_error<StringError>(ErrStream.str()); in deregisterObjectSections()
530 return make_error<StringError>("Failed to register SEH frames"); in registerSEHFrames()
[all …]
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp152 return make_error<StringError>("Unexpected opcode", in handleMessage()
258 return make_error<StringError>("Setup packet SeqNo not zero", in handleSetup()
262 return make_error<StringError>("Setup packet TagAddr not zero", in handleSetup()
291 make_error<StringError>(ErrMsg, inconvertibleErrorCode())); in setup()
301 EIP.set_value(make_error<StringError>( in setup()
371 return make_error<StringError>("Unexpected TagAddr in result message", in handleResult()
378 return make_error<StringError>("No call for sequence number " + in handleResult()
414 return make_error<StringError>(ErrMsg, inconvertibleErrorCode()); in handleHangup()
419 return make_error<StringError>("Could not deserialize hangup info", in handleHangup()
/openbsd/gnu/llvm/compiler-rt/lib/orc/tests/unit/
H A Derror_test.cpp165 TEST(Error, StringError) { in TEST() argument
166 auto E = make_error<StringError>("foo"); in TEST()
167 if (auto SE = error_cast<StringError>(E)) { in TEST()
288 EXPECT_DEATH(cantFail(make_error<StringError>("foo")), in TEST()
292 EXPECT_DEATH(cantFail(Expected<int>(make_error<StringError>("foo"))), in TEST()
/openbsd/gnu/llvm/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp525 return llvm::make_error<llvm::StringError>( in ParseNetBSDProcInfo()
531 return llvm::make_error<llvm::StringError>( in ParseNetBSDProcInfo()
580 return llvm::make_error<llvm::StringError>( in parseSegment()
640 return llvm::make_error<llvm::StringError>( in parseFreeBSDNotes()
697 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
716 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
792 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
798 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
822 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
854 return llvm::make_error<llvm::StringError>( in parseOpenBSDNotes()
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DLlvmState.cpp38 return llvm::make_error<llvm::StringError>("no LLVM target for triple " + in Create()
53 return llvm::make_error<llvm::StringError>(Twine("invalid CPU name (") in Create()
64 return llvm::make_error<llvm::StringError>( in Create()
72 return llvm::make_error<llvm::StringError>( in Create()

123456789