Home
last modified time | relevance | path

Searched refs:PathOrErr (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Debuginfod/
H A DDebuginfod.cpp504 Expected<std::optional<std::string>> PathOrErr = getBinaryPath(ID); in findBinaryPath() local
505 if (!PathOrErr) in findBinaryPath()
506 return PathOrErr.takeError(); in findBinaryPath()
507 std::optional<std::string> Path = *PathOrErr; in findBinaryPath()
514 PathOrErr = getBinaryPath(ID); in findBinaryPath()
515 if (!PathOrErr) in findBinaryPath()
516 return PathOrErr.takeError(); in findBinaryPath()
517 Path = *PathOrErr; in findBinaryPath()
525 Expected<std::string> PathOrErr = getCachedOrDownloadExecutable(ID); in findBinaryPath() local
526 if (!PathOrErr) in findBinaryPath()
[all …]
H A DBuildIDFetcher.cpp26 Expected<std::string> PathOrErr = getCachedOrDownloadDebuginfo(BuildID); in fetch() local
27 if (PathOrErr) in fetch()
28 return *PathOrErr; in fetch()
29 consumeError(PathOrErr.takeError()); in fetch()
/freebsd/contrib/llvm-project/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp761 Expected<std::string> PathOrErr = in addChildMember() local
764 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember()
799 Expected<std::string> PathOrErr = in getArchiveMember() local
802 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(FileName)); in getArchiveMember()
858 Expected<std::string> PathOrErr = in computeInsertAction() local
860 return comparePaths(Name, PathOrErr ? *PathOrErr : Path); in computeInsertAction()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp175 Expected<std::string> PathOrErr = getPdbPathFromExe(Opts.ExePath); in searchForPdb() local
176 if (!PathOrErr) in searchForPdb()
177 return PathOrErr.takeError(); in searchForPdb()
178 StringRef PathFromExe = PathOrErr.get(); in searchForPdb()
/freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-lib/
H A DLibDriver.cpp500 Expected<std::string> PathOrErr = in libDriverMain() local
502 if (PathOrErr) in libDriverMain()
503 Member.MemberName = Saver.save(*PathOrErr); in libDriverMain()