This is an archive of the discontinued LLVM Phabricator instance.

[LLD][COFF] Add more type record information to /summary
ClosedPublic

Authored by aganea on Oct 1 2020, 2:20 PM.

Details

Summary

This adds the following two new lines to /summary:

      21351 Input OBJ files (expanded from all cmd-line inputs)
         61 PDB type server dependencies
         38 Precomp OBJ dependencies
 1420669231 Input type records         <<<<
78665073382 Input type records bytes   <<<<
    8801393 Merged TPI records
    3177158 Merged IPI records
      59194 Output PDB strings
   71576766 Global symbol records
   25416935 Module symbol records
    2103431 Public symbol records

Works with both /DEBUG and /DEBUG:GHASH.

Diff Detail

Event Timeline

aganea created this revision.Oct 1 2020, 2:20 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2020, 2:20 PM
aganea requested review of this revision.Oct 1 2020, 2:20 PM
rnk accepted this revision.Oct 1 2020, 2:52 PM

lgtm, this is useful info

lld/COFF/PDB.cpp
977

A little voice in my head says, "addition is associative, parallelize it!" But I know the performance of this operation is not important. :)

This revision is now accepted and ready to land.Oct 1 2020, 2:52 PM
This revision was automatically updated to reflect the committed changes.