dwarfdump: -summarize-types: print a short summary (unqualified type name, hash,...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 18 Oct 2016 21:09:48 +0000 (21:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 18 Oct 2016 21:09:48 +0000 (21:09 +0000)
commit50cc27ecb931c0ffeace0da054848fee62d95e96
treec4e042b5211715b3db71b3643062baf902e8802c
parentc0a717ba5bf41ad90ba1ad8151f2b15b79c65998
dwarfdump: -summarize-types: print a short summary (unqualified type name, hash, length) of type units rather than dumping contents

This is just a quick utility handy for getting rough summaries of types
in a given object or dwo file. I've been using it to investigate the
amount of type info redundancy across a project build, for example.

llvm-svn: 284537
llvm/include/llvm/DebugInfo/DIContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h
llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
llvm/include/llvm/DebugInfo/PDB/PDBContext.h
llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
llvm/lib/DebugInfo/PDB/PDBContext.cpp
llvm/test/DebugInfo/dwarfdump-type-units.test
llvm/test/tools/llvm-dwp/X86/type_dedup.test
llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp