[llvm] [llvm] Errorize DebuginfodFetcher::fetch() for inspection at call-sites (NFC) (PR #191191)
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 02:05:28 PDT 2026
================
@@ -108,5 +109,8 @@ std::optional<std::string> BuildIDFetcher::fetch(BuildIDRef BuildID) const {
return std::string(Path);
}
}
- return std::nullopt;
+ return createStringError(
----------------
DavidSpickett wrote:
If you use createStringErrorV, perhaps you wouldn't need the toHex.
https://github.com/llvm/llvm-project/pull/191191
More information about the llvm-commits
mailing list