[llvm] [llvm] Errorize DebuginfodFetcher::fetch() for inspection at call-sites (NFC) (PR #191191)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 04:00:13 PDT 2026
================
@@ -1106,19 +1106,21 @@ Expected<std::unique_ptr<CoverageMapping>> CoverageMapping::load(
}
for (object::BuildIDRef BinaryID : BinaryIDsToFetch) {
- std::optional<std::string> PathOpt = BIDFetcher->fetch(BinaryID);
- if (PathOpt) {
- std::string Path = std::move(*PathOpt);
+ Expected<std::string> Path = BIDFetcher->fetch(BinaryID);
+ if (Path) {
----------------
weliveindetail wrote:
Done
https://github.com/llvm/llvm-project/pull/191191
More information about the llvm-commits
mailing list