[PATCH] D59620: [llvm-pdbutil] Add -type-ref-stats to help find unused type info

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 08:37:28 PDT 2019


aganea added a comment.

Another question - do you think we could replace forward references by the the concrete ones?
ie.replace references to 0x100E with 0x1016, and remove 0x100E:

  CHECK:   0x100E | LF_STRUCTURE [size = 108, unreferenced] `__vc_attributes::event_sourceAttribute`
  CHECK:            unique name: `.?AUevent_sourceAttribute at __vc_attributes@@`
  CHECK:            vtable: <no type>, base list: <no type>, field list: <no type>
  CHECK:            options: forward ref (-> 0x1016) | has unique name, sizeof 0

  CHECK:   0x1016 | LF_STRUCTURE [size = 108, unreferenced] `__vc_attributes::event_sourceAttribute`
  CHECK:            unique name: `.?AUevent_sourceAttribute at __vc_attributes@@`
  CHECK:            vtable: <no type>, base list: <no type>, field list: 0x1015
  CHECK:            options: has ctor / dtor | contains nested class | has unique name, sizeof 12


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59620/new/

https://reviews.llvm.org/D59620





More information about the llvm-commits mailing list