|
44 | 44 | #include "llvm/Object/CVDebugRecord.h" |
45 | 45 | #include "llvm/Support/CRC.h" |
46 | 46 | #include "llvm/Support/Endian.h" |
47 | | -#include "llvm/Support/FormatAdapters.h" |
48 | 47 | #include "llvm/Support/FormatVariadic.h" |
49 | 48 | #include "llvm/Support/Path.h" |
50 | 49 | #include "llvm/Support/ScopedPrinter.h" |
@@ -1248,19 +1247,15 @@ void PDBLinker::printStats() { |
1248 | 1247 | << std::string(80, '-') << '\n'; |
1249 | 1248 |
|
1250 | 1249 | auto print = [&](uint64_t v, StringRef s) { |
1251 | | - stream << formatv("{0}", |
1252 | | - fmt_align(formatv("{0:N}", v), AlignStyle::Right, 20)) |
1253 | | - << " " << s << '\n'; |
| 1250 | + stream << format_decimal(v, 15) << " " << s << '\n'; |
1254 | 1251 | }; |
1255 | 1252 |
|
1256 | 1253 | print(ctx.objFileInstances.size(), |
1257 | 1254 | "Input OBJ files (expanded from all cmd-line inputs)"); |
1258 | | - print(ctx.consumedInputsSize, |
1259 | | - "Size of all consumed OBJ files (non-lazy), in bytes"); |
1260 | 1255 | print(ctx.typeServerSourceMappings.size(), "PDB type server dependencies"); |
1261 | 1256 | print(ctx.precompSourceMappings.size(), "Precomp OBJ dependencies"); |
1262 | 1257 | print(nbTypeRecords, "Input type records"); |
1263 | | - print(nbTypeRecordsBytes, "Size of all input type records, in bytes"); |
| 1258 | + print(nbTypeRecordsBytes, "Input type records bytes"); |
1264 | 1259 | print(builder.getTpiBuilder().getRecordCount(), "Merged TPI records"); |
1265 | 1260 | print(builder.getIpiBuilder().getRecordCount(), "Merged IPI records"); |
1266 | 1261 | print(pdbStrTab.size(), "Output PDB strings"); |
|
0 commit comments