[llvm] [DebugInfo] Convert format() to formatv() in DWARFVerifier (PR #179194)
Konrad Kleine via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 2 03:13:06 PST 2026
================
@@ -1152,10 +1150,9 @@ void DWARFVerifier::verifyDebugLineRows() {
++NumDebugLineErrors;
ErrorCategory.Report(
"decreasing address between debug_line rows", [&]() {
- error() << ".debug_line["
- << format("0x%08" PRIx64,
- *toSectionOffset(Die.find(DW_AT_stmt_list)))
- << "] row[" << RowIndex
+ error() << formatv(".debug_line[{0:x+8}] row[{1}",
+ *toSectionOffset(Die.find(DW_AT_stmt_list)),
+ RowIndex)
<< "] decreases in address from previous row:\n";
----------------
kwk wrote:
Done in a4b9eee02816
https://github.com/llvm/llvm-project/pull/179194
More information about the llvm-commits
mailing list