llvm-project/llvm/tools/llvm-pdbdump
Zachary Turner 0c990bbe09 [llvm-pdbdump] Display padding bytes on record layout
When dumping classes, show where padding occurs, and at the end of the
class print statistics about how many bytes total of padding exist in a
class.

Since PDB doesn't specifically contain information about padding, we have
to mimic this by sort of reversing a small portion of the record layout
algorithm (e.g. looking at offsets and sizes and trying to determine
whether something is part of the same field or a new field).

Differential Revision: https://reviews.llvm.org/D31800

llvm-svn: 299869
2017-04-10 19:33:29 +00:00
..
fuzzer [PDB] Partial resubmit of r296215, which improved PDB Stream Library. 2017-02-27 22:11:43 +00:00
Analyze.cpp [pdb] Add a new command for analyzing hash collisions. 2017-02-01 18:30:22 +00:00
Analyze.h [pdb] Add a new command for analyzing hash collisions. 2017-02-01 18:30:22 +00:00
CMakeLists.txt Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
CompactTypeDumpVisitor.cpp [llvm-pdbdump] Add a compact dump mode. 2017-01-12 22:28:15 +00:00
CompactTypeDumpVisitor.h [llvm-pdbdump] Add a compact dump mode. 2017-01-12 22:28:15 +00:00
Diff.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
Diff.h Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMOutputStyle.cpp [PDB] Use two DBs when dumping the IPI stream 2017-03-23 21:36:25 +00:00
LLVMOutputStyle.h [PDB] Use two DBs when dumping the IPI stream 2017-03-23 21:36:25 +00:00
LinePrinter.cpp [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
LinePrinter.h [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
OutputStyle.h Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
PdbYaml.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
PdbYaml.h [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
PrettyBuiltinDumper.cpp Improves pretty printing of variable types in llvm-pdbdump 2017-04-10 16:43:09 +00:00
PrettyBuiltinDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyClassDefinitionDumper.cpp [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
PrettyClassDefinitionDumper.h [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
PrettyCompilandDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyCompilandDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyEnumDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyEnumDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyExternalSymbolDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyExternalSymbolDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyFunctionDumper.cpp General usability improvements to generic PDB library. 2017-04-10 06:14:09 +00:00
PrettyFunctionDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypeDumper.cpp [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
PrettyTypeDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypedefDumper.cpp General usability improvements to generic PDB library. 2017-04-10 06:14:09 +00:00
PrettyTypedefDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyVariableDumper.cpp [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
PrettyVariableDumper.h Improves pretty printing of variable types in llvm-pdbdump 2017-04-10 16:43:09 +00:00
StreamUtil.cpp Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
StreamUtil.h Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
YAMLOutputStyle.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
YAMLOutputStyle.h [pdb] Write the Named Stream mapping to Yaml and binary. 2017-01-20 22:42:09 +00:00
YamlSerializationContext.h [CodeView] Hook up CodeViewRecordIO to type serialization path. 2016-11-08 22:24:53 +00:00
YamlSymbolDumper.cpp [llvm-pdbdump] Add support for dumping symbols from Yaml -> PDB. 2017-03-13 14:57:45 +00:00
YamlSymbolDumper.h [pdb] Dump Module Symbols to Yaml. 2016-10-08 01:12:01 +00:00
YamlTypeDumper.cpp [codeview] Add support for label type records 2017-04-03 21:25:20 +00:00
YamlTypeDumper.h [CodeView] Hook up CodeViewRecordIO to type serialization path. 2016-11-08 22:24:53 +00:00
llvm-pdbdump.cpp [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00
llvm-pdbdump.h [llvm-pdbdump] Display padding bytes on record layout 2017-04-10 19:33:29 +00:00