Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp275 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in traverseInlineeLines()
337 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
339 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
343 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
349 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
353 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
361 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
395 return createStringError(errorToErrorCode(std::move(Err)), "%s", in loadTypeServer()
445 if (errorToErrorCode(BinOrErr.takeError())) in loadPrecompiledObject()
619 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in traverseSymbolsSubsection()
[all …]
/freebsd/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()
92 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
183 if (errorToErrorCode(PdbPath.takeError())) { in handleBuffer()
194 if (errorToErrorCode(BinOrErr.takeError())) { in handleBuffer()
266 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleObject()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp123 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
135 return llvm::errorToErrorCode(Res.takeError()); in skipUntilRecordOrBlock()
145 return llvm::errorToErrorCode(std::move(Err)); in skipUntilRecordOrBlock()
195 return errorToErrorCode(MaybeRecordID.takeError()); in readMetaBlock()
254 return errorToErrorCode(MaybeRecID.takeError()); in readDiagnosticBlock()
H A DPrecompiledPreamble.cpp535 return errorToErrorCode(std::move(Err)); in Build()
H A DCompilerInstance.cpp839 << OutputPath << errorToErrorCode(OS.takeError()).message(); in createOutputFile()
989 auto EC = llvm::errorToErrorCode(FileOrErr.takeError()); in InitializeSourceManager()
/freebsd/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/contrib/llvm-project/llvm/lib/Support/
H A DMemoryBuffer.cpp253 return errorToErrorCode(std::move(E)); in getMemoryBufferForStream()
280 return errorToErrorCode(FDOrErr.takeError()); in getFileAux()
421 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile()
541 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
585 return errorToErrorCode(FDOrErr.takeError()); in getFileAsStream()
H A DCaching.cpp63 EC = errorToErrorCode(FDOrErr.takeError()); in localCache()
H A DError.cpp117 std::error_code errorToErrorCode(Error Err) { in errorToErrorCode() function
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp122 return errorToErrorCode(Address.takeError()); in getSymbol()
220 return errorToErrorCode(ResolvedAddressOrErr.takeError()); in resolveRelocation()
225 return errorToErrorCode(SI.takeError()); in resolveRelocation()
H A DARMWinEHPrinter.cpp241 return errorToErrorCode(Type.takeError()); in getSymbol()
247 return errorToErrorCode(Address.takeError()); in getSymbol()
H A DARMEHABIPrinter.h429 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in FindExceptionTable()
/freebsd/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp131 return errorToErrorCode(FileOutputBuffer::create(path, 1).takeError());
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp398 << errorToErrorCode(Def.takeError()).message(); in libDriverMain()
421 << errorToErrorCode(NativeDef.takeError()).message(); in libDriverMain()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp139 << errorToErrorCode(Def.takeError()).message() << "\n"; in parseModuleDefinition()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h473 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
1079 Twine(errorToErrorCode(SymSecOrErr.takeError()).message())); in section_rel_end()
1176 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRel()
1186 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRela()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1228 LLVM_ABI std::error_code errorToErrorCode(Error Err);
1254 return errorToErrorCode(std::move(Err)); in expectedToErrorOr()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp229 std::error_code Err = errorToErrorCode(DirInfoOrErr.takeError()); in getFileRef()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp173 std::error_code EC = errorToErrorCode(std::move(E)); in parseBitcodeFileImpl()
H A DThinLTOCodeGenerator.cpp401 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerCommon.cpp538 std::error_code code = errorToErrorCode(file.takeError()); in Handle_vFile_Open()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp301 failIfError(errorToErrorCode(LibOrErr.takeError()), in readLibrary()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1136 return errorToErrorCode(H.takeError());
1257 return errorToErrorCode(Result.takeError());
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp455 std::error_code EC = llvm::errorToErrorCode(File.takeError()); in getFileAndSuggestModule()
H A DModuleMap.cpp1446 return llvm::errorToErrorCode(DirEntry.takeError()); in canonicalizeModuleMapPath()

12