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.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()
348 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
354 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
358 return createStringError(errorToErrorCode(std::move(E)), getFileName()); in initializeFileAndStringTables()
366 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(st in traverseSymbolsSubsection()
[all...]
/freebsd/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.cpp537 return errorToErrorCode(std::move(Err)); in Build()
H A DCompilerInstance.cpp842 << OutputPath << errorToErrorCode(OS.takeError()).message(); in createOutputFile()
992 auto EC = llvm::errorToErrorCode(FileOrErr.takeError()); in InitializeSourceManager()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/
H A DLVReaderHandler.cpp80 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
84 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
88 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleArchive()
181 if (errorToErrorCode(PdbPath.takeError())) { in handleBuffer()
192 if (errorToErrorCode(BinOrErr.takeError())) { in handleBuffer()
264 return createStringError(errorToErrorCode(std::move(Err)), "%s", in handleObject()
/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.cpp256 return errorToErrorCode(std::move(E)); in getMemoryBufferForStream()
283 return errorToErrorCode(FDOrErr.takeError()); in getFileAux()
419 return errorToErrorCode(FDOrErr.takeError()); in getReadWriteFile()
526 return errorToErrorCode(ReadBytes.takeError()); in getOpenFileImpl()
570 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.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/contrib/llvm-project/lld/Common/
H A DFilesystem.cpp131 return errorToErrorCode(FileOutputBuffer::create(path, 1).takeError());
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DFileManager.cpp204 return llvm::errorToErrorCode(Result.takeError()); in getDirectory()
212 return llvm::errorToErrorCode(Result.takeError()); in getFile()
245 std::error_code Err = errorToErrorCode(DirInfoOrErr.takeError()); in getFileRef()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp392 << errorToErrorCode(Def.takeError()).message(); in libDriverMain()
415 << errorToErrorCode(NativeDef.takeError()).message(); in libDriverMain()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/
H A DDlltoolDriver.cpp132 << errorToErrorCode(Def.takeError()).message() << "\n"; in parseModuleDefinition()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DELFObjectFile.h467 Twine(errorToErrorCode(RelSecOrErr.takeError()).message())); in getRelSection()
1074 Twine(errorToErrorCode(SymSecOrErr.takeError()).message())); in section_rel_end()
1171 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRel()
1181 report_fatal_error(Twine(errorToErrorCode(Ret.takeError()).message())); in getRela()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DError.h1209 std::error_code errorToErrorCode(Error Err);
1235 return errorToErrorCode(std::move(Err)); in expectedToErrorOr()
/freebsd/contrib/llvm-project/llvm/lib/LTO/
H A DLTOModule.cpp177 std::error_code EC = errorToErrorCode(std::move(E)); in parseBitcodeFileImpl()
H A DThinLTOCodeGenerator.cpp409 return errorToErrorCode(FDOrErr.takeError()); in tryLoadingBuffer()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp301 failIfError(errorToErrorCode(LibOrErr.takeError()), in readLibrary()
/freebsd/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/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc1134 return errorToErrorCode(H.takeError());
1255 return errorToErrorCode(Result.takeError());
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp450 std::error_code EC = llvm::errorToErrorCode(File.takeError()); in getFileAndSuggestModule()
H A DModuleMap.cpp1354 return llvm::errorToErrorCode(DirEntry.takeError()); in canonicalizeModuleMapPath()

12