[llvm] [llvm][DebugInfo] formatv in DWARFUnitIndex (PR #191998)

Konrad Kleine via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 03:03:45 PDT 2026


================
@@ -226,7 +228,7 @@ void DWARFUnitIndex::dump(raw_ostream &OS) const {
          << left_justify(Name,
                          Kind == DWARFSectionKind::DW_SECT_INFO ? 40 : 24);
     else
-      OS << format(" Unknown: %-15" PRIu32, RawSectionIds[i]);
+      OS << formatv(" Unknown: {0, -15}", RawSectionIds[i]);
----------------
kwk wrote:

The space is the default so I might as well remove it here. Fixed in f23ade04be31e9fa5b4cc2a43d0ab34ffe8ad6e7.

https://github.com/llvm/llvm-project/pull/191998


More information about the llvm-commits mailing list