Home
last modified time | relevance | path

Searched refs:errorCodeToError (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DPseudoTerminal.cpp71 return llvm::errorCodeToError( in OpenFirstAvailablePrimary()
79 return llvm::errorCodeToError(EC); in OpenFirstAvailablePrimary()
86 return llvm::errorCodeToError(EC); in OpenFirstAvailablePrimary()
91 return llvm::errorCodeToError(llvm::errc::not_supported); in OpenFirstAvailablePrimary()
103 return llvm::errorCodeToError( in OpenSecondary()
146 return llvm::errorCodeToError( in Fork()
167 return llvm::errorCodeToError( in Fork()
174 return llvm::errorCodeToError( in Fork()
H A DThreadLauncher.cpp37 return llvm::errorCodeToError(llvm::mapWindowsError(GetLastError())); in LaunchThread()
73 return llvm::errorCodeToError( in LaunchThread()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DExecutorSharedMemoryMapperService.cpp75 return errorCodeToError(errnoAsErrorCode()); in reserve()
79 return errorCodeToError(errnoAsErrorCode()); in reserve()
84 return errorCodeToError(errnoAsErrorCode()); in reserve()
88 return errorCodeToError(errnoAsErrorCode()); in reserve()
92 return errorCodeToError(errnoAsErrorCode()); in reserve()
113 return errorCodeToError(mapWindowsError(GetLastError())); in reserve()
119 return errorCodeToError(mapWindowsError(GetLastError())); in reserve()
166 return errorCodeToError(errnoAsErrorCode()); in initialize()
175 return errorCodeToError(mapWindowsError(GetLastError())); in initialize()
270 Err = joinErrors(std::move(Err), errorCodeToError(errnoAsErrorCode())); in release()
[all …]
H A DSimpleExecutorMemoryManager.cpp29 return errorCodeToError(EC); in allocate()
104 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in finalize()
136 return BailOut(errorCodeToError(EC)); in finalize()
222 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in deallocateImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMemoryMapper.cpp51 return OnReserved(errorCodeToError(EC)); in reserve()
88 return OnInitialized(errorCodeToError(EC)); in initialize()
131 AllErr = joinErrors(std::move(AllErr), errorCodeToError(EC)); in deinitialize()
168 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in release()
255 return OnReserved(errorCodeToError( in reserve()
260 return OnReserved(errorCodeToError( in reserve()
266 return OnReserved(errorCodeToError(errnoAsErrorCode())); in reserve()
275 return OnReserved(errorCodeToError(errnoAsErrorCode())); in reserve()
288 return OnReserved(errorCodeToError(mapWindowsError(GetLastError()))); in reserve()
294 return OnReserved(errorCodeToError(mapWindowsError(GetLastError()))); in reserve()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DOffloadBinary.cpp176 return errorCodeToError(object_error::parse_failed); in create()
180 return errorCodeToError(object_error::parse_failed); in create()
184 return errorCodeToError(object_error::parse_failed); in create()
189 return errorCodeToError(object_error::parse_failed); in create()
193 return errorCodeToError(object_error::unexpected_eof); in create()
197 return errorCodeToError(object_error::unexpected_eof); in create()
204 return errorCodeToError(object_error::unexpected_eof); in create()
H A DBinary.cpp85 return errorCodeToError(object_error::invalid_file_type); in createBinary()
95 return errorCodeToError(object_error::invalid_file_type); in createBinary()
112 return errorCodeToError(EC); in createBinary()
H A DIRObjectFile.cpp80 return errorCodeToError(object_error::bitcode_section_not_found); in findBitcodeInObject()
85 return errorCodeToError(object_error::bitcode_section_not_found); in findBitcodeInObject()
105 return errorCodeToError(object_error::invalid_file_type); in findBitcodeInMemBuffer()
H A DObjectFile.cpp172 return errorCodeToError(object_error::invalid_file_type); in createObjectFile()
174 return errorCodeToError(object_error::invalid_file_type); in createObjectFile()
213 return errorCodeToError(EC);
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileOutputBuffer.cpp103 return errorCodeToError(EC); in commit()
123 return errorCodeToError(EC);
137 return errorCodeToError(EC); in createOnDiskBuffer()
185 return errorCodeToError(errc::is_a_directory); in create()
H A DCaching.cpp121 return errorCodeToError(EC); in localCache()
H A DInitLLVM.cpp73 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDERR_FILENO)));
74 ExitOnErr(errorCodeToError(llvm::enableAutoConversion(STDOUT_FILENO)));
90 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc)));
H A DPath.cpp1231 return errorCodeToError(EC); in discard()
1252 return errorCodeToError(RemoveEC); in discard()
1300 return errorCodeToError(errnoAsErrorCode()); in keep()
1303 return errorCodeToError(RenameEC); in keep()
1313 return errorCodeToError(EC); in keep()
1320 return errorCodeToError(errnoAsErrorCode()); in keep()
1332 return errorCodeToError(EC); in create()
1349 return errorCodeToError(EC); in create()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp71 return llvm::errorCodeToError( in getDirectoryFromFile()
75 return llvm::errorCodeToError(make_error_code(std::errc::is_a_directory)); in getDirectoryFromFile()
167 return llvm::errorCodeToError(SeenDirInsertResult.first->second.getError()); in getDirectoryRef()
189 return llvm::errorCodeToError(statError); in getDirectoryRef()
224 return llvm::errorCodeToError( in getFileRef()
251 return llvm::errorCodeToError(Err); in getFileRef()
270 return llvm::errorCodeToError(statError); in getFileRef()
368 return llvm::errorCodeToError(ContentOrError.getError()); in getSTDIN()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DIndirectionUtils.h145 Err = errorCodeToError(EC); in LocalTrampolinePool()
158 Err = errorCodeToError(EC); in LocalTrampolinePool()
172 return errorCodeToError(EC); in grow()
190 return errorCodeToError(EC); in grow()
332 return errorCodeToError(EC); in create()
345 return errorCodeToError(EC); in create()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp268 OnFinalized(errorCodeToError(EC)); in finalize()
287 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in abandon()
289 Err = joinErrors(std::move(Err), errorCodeToError(EC)); in abandon()
313 return errorCodeToError(EC); in applyProtections()
385 OnAllocated(errorCodeToError(EC)); in allocate()
473 DeallocErr = joinErrors(std::move(DeallocErr), errorCodeToError(EC)); in deallocate()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/
H A DSimpleRemoteEPCUtils.cpp105 return errorCodeToError(std::error_code(ErrNo, std::generic_category())); in sendMessage()
107 return errorCodeToError(std::error_code(ErrNo, std::generic_category())); in sendMessage()
160 return errorCodeToError( in readBytes()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DDiagnostics.cpp87 return errorCodeToError(ec); in CreateUniqueDirectory()
108 return errorCodeToError(ec); in DumpDiangosticsLog()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp1151 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1178 return reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1188 return reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1219 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1227 reportError(errorCodeToError(EC), Obj->getFileName()); in printCodeViewSymbolSection()
1232 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1253 reportError(errorCodeToError(EC), Obj->getFileName()); in printCodeViewSymbolSection()
1324 reportError(errorCodeToError(object_error::parse_failed), in printCodeViewSymbolSection()
1420 reportError(errorCodeToError(object_error::parse_failed), in getFileNameForFileOffset()
1427 reportError(errorCodeToError(object_error::parse_failed), in getFileNameForFileOffset()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-tapi-diff/
H A Dllvm-tapi-diff.cpp
/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.cpp64 return errorCodeToError(E); in createOutputStream()
71 return errorCodeToError(E); in createOutputStream()
/freebsd/contrib/llvm-project/llvm/tools/llvm-modextract/
H A Dllvm-modextract.cpp68 ExitOnErr(errorCodeToError(EC)); in main()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectDiagnostics.cpp74 return llvm::errorCodeToError(ec); in GetDirectory()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DHeaderFile.cpp52 return errorCodeToError(EC); in enumerateFiles()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostInfoBase.h142 return llvm::errorCodeToError(llvm::errc::no_such_file_or_directory); in FindSDKTool()

1234