Home
last modified time | relevance | path

Searched refs:errorToErrorCode (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp280 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in traverseInlineeLines()
342 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
344 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
400 return createStringError(errorToErrorCode(std::move(Err)), "%s", in loadTypeServer()
450 if (errorToErrorCode(BinOrErr.takeError())) in loadPrecompiledObject()
624 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in traverseSymbolsSubsection()
660 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in traverseSymbolSection()
724 return createStringError(errorToErrorCode(std::move(Err)), in traverseSymbolSection()
924 if (errorToErrorCode(BinOrErr.takeError())) { in createScopes()
1014 return createStringError(errorToErrorCode(std::move(Err)), in createScopes()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp125 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
137 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
147 return llvm::errorToErrorCode(std::move(Err)); in skipUntilRecordOrBlock()
197 return errorToErrorCode(MaybeRecordID.takeError()); in readMetaBlock()
256 return errorToErrorCode(MaybeRecID.takeError()); in readDiagnosticBlock()
H A DPrecompiledPreamble.cpp536 return errorToErrorCode(std::move(Err)); in Build()
H A DCompilerInstance.cpp843 << OutputPath << errorToErrorCode(OS.takeError()).message(); in createOutputFile()
993 auto EC = llvm::errorToErrorCode(FileOrErr.takeError()); in InitializeSourceManager()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp79 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
83 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
87 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
180 if (errorToErrorCode(PdbPath.takeError())) { in handleBuffer()
191 if (errorToErrorCode(BinOrErr.takeError())) { in handleBuffer()
263 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleObject()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cxxdump/
H A Dllvm-cxxdump.cpp96 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocatedSymbols()
118 error(errorToErrorCode(RelocSymName.takeError())); in collectRelocationOffsets()
196 error(errorToErrorCode(SymNameOrErr.takeError())); in dumpCXXData()
199 error(errorToErrorCode(SecIOrErr.takeError())); in dumpCXXData()
210 error(errorToErrorCode(SymAddressOrErr.takeError())); in dumpCXXData()
530 auto EC = errorToErrorCode(BinaryOrErr.takeError()); in dumpInput()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp248 return errorToErrorCode(std::move(E)); in getMemoryBufferForStream()
275 return errorToErrorCode(FDOrErr.takeError()); in getFileAux()
404 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile()
511 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
555 return errorToErrorCode(FDOrErr.takeError()); in getFileAsStream()
H A DError.cpp109 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() function
H A DCaching.cpp63 EC = errorToErrorCode(FDOrErr.takeError()); in localCache()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp119 return errorToErrorCode(Address.takeError()); in getSymbol()
217 return errorToErrorCode(ResolvedAddressOrErr.takeError()); in resolveRelocation()
222 return errorToErrorCode(SI.takeError()); in resolveRelocation()
H A DARMWinEHPrinter.cpp240 return errorToErrorCode(Type.takeError()); in getSymbol()
246 return errorToErrorCode(Address.takeError()); in getSymbol()
H A DARMEHABIPrinter.h429 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in FindExceptionTable()
/freebsd-14.2/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp131 return errorToErrorCode(FileOutputBuffer::create(path, 1).takeError()); in tryCreateFile()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp194 return llvm::errorToErrorCode(Result.takeError()); in getDirectory()
202 return llvm::errorToErrorCode(Result.takeError()); in getFile()
235 std::error_code Err = errorToErrorCode(DirInfoOrErr.takeError()); in getFileRef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp174 << errorToErrorCode(Def.takeError()).message() << "\n"; in dlltoolDriverMain()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h434 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
1014 Twine(errorToErrorCode(SymSecOrErr.takeError()).message())); in section_rel_end()
1103 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRel()
1113 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRela()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1181 std::error_code errorToErrorCode(Error Err);
1193 return errorToErrorCode(std::move(Err)); in expectedToErrorOr()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp391 << errorToErrorCode(Def.takeError()).message(); in libDriverMain()
/freebsd-14.2/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp177 std::error_code EC = errorToErrorCode(std::move(E)); in parseBitcodeFileImpl()
H A DThinLTOCodeGenerator.cpp408 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp524 std::error_code code = errorToErrorCode(file.takeError()); in Handle_vFile_Open()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp300 failIfError(errorToErrorCode(LibOrErr.takeError()), in readLibrary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1128 return errorToErrorCode(H.takeError());
1249 return errorToErrorCode(Result.takeError());
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp426 std::error_code EC = llvm::errorToErrorCode(File.takeError()); in getFileAndSuggestModule()
H A DModuleMap.cpp1349 return llvm::errorToErrorCode(DirEntry.takeError()); in canonicalizeModuleMapPath()

12