Home
last modified time | relevance | path

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

12345678

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DError.cpp62 char StringError::ID = 0;
140 StringError::StringError(std::error_code EC, const Twine &S) in StringError() function in llvm::StringError
143 StringError::StringError(const Twine &S, std::error_code EC) in StringError() function in llvm::StringError
146 StringError::StringError(std::string &&S, std::error_code EC, bool PrintMsgOnly) in StringError() function in llvm::StringError
149 void StringError::log(raw_ostream &OS) const { in log()
159 std::error_code StringError::convertToErrorCode() const { in convertToErrorCode()
164 return make_error<StringError>(Msg, EC); in createStringError()
196 return reinterpret_cast<void *>(&StringError::ID); in LLVMGetStringErrorTypeId()
200 return wrap(make_error<StringError>(ErrMsg, inconvertibleErrorCode())); in LLVMCreateStringError()
H A Draw_socket_stream.cpp81 return llvm::make_error<StringError>(getLastSocketErrorCode(), in getSocketFD()
87 return llvm::make_error<StringError>(getLastSocketErrorCode(), in getSocketFD()
128 return llvm::make_error<StringError>( in getSocketFD()
135 return llvm::make_error<StringError>( in getSocketFD()
148 return llvm::make_error<StringError>(getLastSocketErrorCode(), in getSocketFD()
156 return llvm::make_error<StringError>(EC, "Bind error"); in getSocketFD()
161 return llvm::make_error<StringError>(getLastSocketErrorCode(), in getSocketFD()
171 return llvm::make_error<StringError>(getLastSocketErrorCode(), in getSocketFD()
259 return llvm::make_error<StringError>(TimeoutErr, "Timeout error"); in accept()
270 return llvm::make_error<StringError>(getLastSocketErrorCode(), in accept()
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()
/freebsd/contrib/llvm-project/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()
141 return llvm::make_error<llvm::StringError>("invalid extension", in LoadModule()
148 llvm::Error e = llvm::make_error<llvm::StringError>( in LoadModule()
174 return llvm::make_error<llvm::StringError>("could not get stdout", in ChangeIO()
185 return llvm::make_error<llvm::StringError>("could not get stderr", in ChangeIO()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DWasm.cpp46 return llvm::make_error<llvm::StringError>("Failed to create Wasm Target: ", in addModule()
62 return llvm::make_error<llvm::StringError>( in addModule()
68 return llvm::make_error<llvm::StringError>("Failed to emit Wasm object.", in addModule()
88 return llvm::make_error<llvm::StringError>( in addModule()
95 return llvm::make_error<llvm::StringError>( in addModule()
103 return llvm::make_error<llvm::StringError>("Not implemented yet", in removeModule()
H A DDeviceOffload.cpp37 Err = llvm::joinErrors(std::move(Err), llvm::make_error<llvm::StringError>( in IncrementalCUDADeviceParser()
79 return llvm::make_error<llvm::StringError>(std::move(Error), in GeneratePTX()
93 return llvm::make_error<llvm::StringError>( in GeneratePTX()
99 return llvm::make_error<llvm::StringError>("Failed to emit PTX code.", in GeneratePTX()
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassBuilder.cpp578 return make_error<StringError>( in parseSinglePassOption()
599 return make_error<StringError>( in parseHardwareLoopOptions()
608 return make_error<StringError>( in parseHardwareLoopOptions()
623 return make_error<StringError>( in parseHardwareLoopOptions()
646 return make_error<StringError>( in parseLoopUnrollOptions()
665 return make_error<StringError>( in parseLoopUnrollOptions()
704 return make_error<StringError>( in parseCFGuardPassOptions()
713 return make_error<StringError>( in parseCFGuardPassOptions()
745 return make_error<StringError>( in parseASanPassOptions()
765 return make_error<StringError>( in parseHWASanPassOptions()
[all …]
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()
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp74 return make_error<StringError>( in read()
84 return make_error<StringError>( in read()
180 return make_error<StringError>( in read()
186 return make_error<StringError>( in readRaw()
196 return make_error<StringError>( in readInt()
206 return make_error<StringError>( in readUInt()
216 return make_error<StringError>( in readLength()
226 return make_error<StringError>( in readExt()
236 return make_error<StringError>( in createRaw()
246 return make_error<StringError>( in createExt()
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
357 return make_error<StringError>("Failed loading YAML Data.", In.error()); in loadYAMLLog()
366 return make_error<StringError>( in loadYAMLLog()
388 return make_error<StringError>( in loadTraceFile()
392 return make_error<StringError>( in loadTraceFile()
404 return make_error<StringError>( in loadTraceFile()
450 return make_error<StringError>( in loadTrace()
462 return make_error<StringError>( in loadTrace()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp192 return make_error<StringError>( in readIFSFromBuffer()
239 return make_error<StringError>( in overrideIFSTarget()
247 return make_error<StringError>( in overrideIFSTarget()
254 return make_error<StringError>( in overrideIFSTarget()
261 return make_error<StringError>( in overrideIFSTarget()
274 return make_error<StringError>( in validateIFSTarget()
289 return make_error<StringError>("Arch is not defined in the text stub", in validateIFSTarget()
293 return make_error<StringError>("BitWidth is not defined in the text stub", in validateIFSTarget()
297 return make_error<StringError>(
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DSimpleRemoteEPC.cpp168 return make_error<StringError>("Unexpected opcode", in handleMessage()
273 return make_error<StringError>("Setup packet SeqNo not zero", in handleSetup()
277 return make_error<StringError>("Setup packet TagAddr not zero", in handleSetup()
306 make_error<StringError>(ErrMsg, inconvertibleErrorCode())); in setup()
316 EIP.set_value(make_error<StringError>( in setup()
392 return make_error<StringError>("Unexpected TagAddr in result message", in handleResult()
399 return make_error<StringError>("No call for sequence number " + in handleResult()
435 return make_error<StringError>(ErrMsg, inconvertibleErrorCode()); in handleHangup()
440 return make_error<StringError>("Could not deserialize hangup info", in handleHangup()
H A DJITTargetMachineBuilder.cpp45 return make_error<StringError>(std::move(ErrMsg), inconvertibleErrorCode()); in createTargetMachine()
48 return make_error<StringError>("Target has no JIT support", in createTargetMachine()
55 return make_error<StringError>("Could not allocate target machine", in createTargetMachine()
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
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()
304 return make_error<StringError>("__orc_rt_jit_dispatch_ctx not set"); in call()
306 return make_error<StringError>("__orc_rt_jit_dispatch not set"); in call()
311 return make_error<StringError>(ErrMsg); in call()
316 return make_error<StringError>(ErrMsg); in call()
419 return make_error<StringError>("Cannot serialize arguments for "
452 return make_error<StringError>(ErrMsg); in runWithSPSRet()
455 return make_error<StringError>("Coul in runWithSPSRet()
[all...]
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()
529 return make_error<StringError>("Faile in registerSEHFrames()
[all...]
H A Dmacho_platform.cpp475 return make_error<StringError>( in registerThreadDataSection()
506 return make_error<StringError>(ErrStream.str()); in registerObjectPlatformSections()
512 return make_error<StringError>(ErrStream.str()); in registerObjectPlatformSections()
528 return make_error<StringError>(ErrStream.str()); in registerObjectPlatformSections()
554 return make_error<StringError>("Overlapping __thread_data sections"); in registerObjectPlatformSections()
566 return make_error<StringError>("Attempt to deregister unknown thread data " in registerObjectPlatformSections()
584 return make_error<StringError>(ErrStream.str()); in deregisterObjectPlatformSections()
605 return make_error<StringError>(ErrStream.str()); in deregisterObjectPlatformSections()
633 return make_error<StringError>(ErrStream.str()); in deregisterObjectPlatformSections()
682 return make_error<StringError>( in dlclose()
[all...]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DInterfaceFile.cpp127 return make_error<StringError>("install names do not match", in merge()
132 return make_error<StringError>("current versions do not match", in merge()
137 return make_error<StringError>("compatibility versions do not match", in merge()
143 return make_error<StringError>("swift ABI versions do not match", in merge()
148 return make_error<StringError>("two level namespace flags do not match", in merge()
153 return make_error<StringError>( in merge()
221 return make_error<StringError>("cannot remove last architecture slice '" + in remove()
301 return make_error<StringError>("file doesn't have architecture '" + in extract()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/elf-core/
H A DProcessElfCore.cpp535 return llvm::make_error<llvm::StringError>( in ParseNetBSDProcInfo()
541 return llvm::make_error<llvm::StringError>( in ParseNetBSDProcInfo()
590 return llvm::make_error<llvm::StringError>( in parseSegment()
650 return llvm::make_error<llvm::StringError>( in parseFreeBSDNotes()
707 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
726 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
732 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
752 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
758 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
778 return llvm::make_error<llvm::StringError>( in parseNetBSDNotes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRYamlMapping.cpp34 return make_error<StringError>( in getFI()
40 return make_error<StringError>(formatv("invalid frame index {0}", FI).str(), in getFI()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeViewError.h41 class CodeViewError : public ErrorInfo<CodeViewError, StringError> {
44 StringError>::ErrorInfo; // inherit constructors

12345678