[llvm] [llvm][DebugInfo] formatv in LVDWARFReader (PR #192011)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 14 02:24:39 PDT 2026
================
@@ -263,8 +263,8 @@ void LVDWARFReader::processOneAttribute(const DWARFDie &Die,
if (!RangesOrError) {
LLVM_DEBUG({
std::string TheError(toString(RangesOrError.takeError()));
- dbgs() << format("error decoding address ranges = ",
- TheError.c_str());
+ dbgs() << formatv("error decoding address ranges = {0}",
+ TheError.c_str());
----------------
s-barannikov wrote:
This could use `fmt_consume(RangesOrError.takeError())`
https://github.com/llvm/llvm-project/pull/192011
More information about the llvm-commits
mailing list