Skip to content

Commit 4a81e5c

Browse files
committed
Clarify size is in bytes
1 parent 188edc2 commit 4a81e5c

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

lld/COFF/PDB.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,11 +1255,12 @@ void PDBLinker::printStats() {
12551255

12561256
print(ctx.objFileInstances.size(),
12571257
"Input OBJ files (expanded from all cmd-line inputs)");
1258-
print(ctx.consumedInputsSize, "Size of all consumed OBJ files (non-lazy)");
1258+
print(ctx.consumedInputsSize,
1259+
"Size of all consumed OBJ files (non-lazy), in bytes");
12591260
print(ctx.typeServerSourceMappings.size(), "PDB type server dependencies");
12601261
print(ctx.precompSourceMappings.size(), "Precomp OBJ dependencies");
12611262
print(nbTypeRecords, "Input type records");
1262-
print(nbTypeRecordsBytes, "Input type records bytes");
1263+
print(nbTypeRecordsBytes, "Size of all input type records, in bytes");
12631264
print(builder.getTpiBuilder().getRecordCount(), "Merged TPI records");
12641265
print(builder.getIpiBuilder().getRecordCount(), "Merged IPI records");
12651266
print(pdbStrTab.size(), "Output PDB strings");

lld/test/COFF/pdb-type-server-simple.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ CHECK-LABEL: Mod 0002 | `* Linker *`:
107107
SUMMARY: Summary
108108
SUMMARY-NEXT: --------------------------------------------------------------------------------
109109
SUMMARY-NEXT: 2 Input OBJ files (expanded from all cmd-line inputs)
110-
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy)
110+
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy), in bytes
111111
SUMMARY-NEXT: 1 PDB type server dependencies
112112
SUMMARY-NEXT: 0 Precomp OBJ dependencies
113113
SUMMARY-NEXT: 25 Input type records
114-
SUMMARY-NEXT: 868 Input type records bytes
114+
SUMMARY-NEXT: 868 Size of all input type records, in bytes
115115
SUMMARY-NEXT: 9 Merged TPI records
116116
SUMMARY-NEXT: 16 Merged IPI records
117117
SUMMARY-NEXT: 3 Output PDB strings

lld/test/COFF/precomp-link-samename.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ CHECK-NOT: LF_ENDPRECOMP
1313
SUMMARY: Summary
1414
SUMMARY-NEXT: --------------------------------------------------------------------------------
1515
SUMMARY-NEXT: 4 Input OBJ files (expanded from all cmd-line inputs)
16-
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy)
16+
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy), in bytes
1717
SUMMARY-NEXT: 0 PDB type server dependencies
1818
SUMMARY-NEXT: 2 Precomp OBJ dependencies
1919

lld/test/COFF/precomp-link.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ CHECK-NOT: LF_ENDPRECOMP
6060
SUMMARY: Summary
6161
SUMMARY-NEXT: --------------------------------------------------------------------------------
6262
SUMMARY-NEXT: 3 Input OBJ files (expanded from all cmd-line inputs)
63-
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy)
63+
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy), in bytes
6464
SUMMARY-NEXT: 0 PDB type server dependencies
6565
SUMMARY-NEXT: 1 Precomp OBJ dependencies
6666
SUMMARY-NEXT: 1,066 Input type records
67-
SUMMARY-NEXT: 55,968 Input type records bytes
67+
SUMMARY-NEXT: 55,968 Size of all input type records, in bytes
6868
SUMMARY-NEXT: 874 Merged TPI records
6969
SUMMARY-NEXT: 170 Merged IPI records
7070
SUMMARY-NEXT: 5 Output PDB strings

lld/test/COFF/precomp-summary-fail.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ RUN: /dll /out:%t.dll /debug /summary | FileCheck %s -check-prefix SUMMARY
1212
SUMMARY: Summary
1313
SUMMARY-NEXT: --------------------------------------------------------------------------------
1414
SUMMARY-NEXT: 2 Input OBJ files (expanded from all cmd-line inputs)
15-
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy)
15+
SUMMARY-NEXT: Size of all consumed OBJ files (non-lazy), in bytes
1616
SUMMARY-NEXT: 0 PDB type server dependencies
1717
SUMMARY-NEXT: 1 Precomp OBJ dependencies
1818
SUMMARY-NEXT: 8 Input type records
19-
SUMMARY-NEXT: 232 Input type records bytes
19+
SUMMARY-NEXT: 232 Size of all input type records, in bytes
2020
SUMMARY-NEXT: 3 Merged TPI records
2121
SUMMARY-NEXT: 2 Merged IPI records
2222
SUMMARY-NEXT: 1 Output PDB strings

0 commit comments

Comments
 (0)