llvm-project/llvm/tools/llvm-pdbdump
Zachary Turner 349c18f837 [CodeView] Handle Cross Module Imports and Exports.
While it's not entirely clear why a compiler or linker might
put this information into an object or PDB file, one has been
spotted in the wild which was causing llvm-pdbdump to crash.

This patch adds support for reading-writing these sections.
Since I don't know how to get one of the native tools to
generate this kind of debug info, the only test here is one
in which we feed YAML into the tool to produce a PDB and
then spit out YAML from the resulting PDB and make sure that
it matches.

llvm-svn: 304738
2017-06-05 21:40:33 +00:00
..
fuzzer [PDB] Fix use after free. 2017-06-03 00:33:35 +00:00
Analyze.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
Analyze.h [pdb] Add a new command for analyzing hash collisions. 2017-02-01 18:30:22 +00:00
C13DebugFragmentVisitor.cpp [CodeView] Handle Cross Module Imports and Exports. 2017-06-05 21:40:33 +00:00
C13DebugFragmentVisitor.h [CodeView] Handle Cross Module Imports and Exports. 2017-06-05 21:40:33 +00:00
CMakeLists.txt [CodeView] Move CodeView symbol yaml logic to ObjectYAML. 2017-05-30 23:50:44 +00:00
CompactTypeDumpVisitor.cpp [CodeView] Move CodeView YAML code to ObjectYAML. 2017-05-30 21:53:05 +00:00
CompactTypeDumpVisitor.h Resubmit "[CodeView] Provide a common interface for type collections." 2017-05-19 19:26:58 +00:00
Diff.cpp [llvm-readobj] Update readobj to re-use parsing code. 2017-05-03 17:11: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 [CodeView] Handle Cross Module Imports and Exports. 2017-06-05 21:40:33 +00:00
LLVMOutputStyle.h Resubmit "[CodeView] Provide a common interface for type collections." 2017-05-19 19:26:58 +00:00
LinePrinter.cpp [llvm-pdbdump] Re-write the record layout code to be more resilient. 2017-04-24 17:47:24 +00:00
LinePrinter.h [llvm-pdbdump] Recursively dump class layout. 2017-04-13 21:11:00 +00:00
OutputStyle.h Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
PdbYaml.cpp [CodeView] Support CodeView subsections in any order. 2017-06-02 19:49:14 +00:00
PdbYaml.h [CodeView] Support CodeView subsections in any order. 2017-06-02 19:49:14 +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] Allow sorting / filtering by immediate padding 2017-04-25 20:22:29 +00:00
PrettyClassDefinitionDumper.h [llvm-pdbdump] Merge functionality of graphical and text dumpers. 2017-04-24 17:47:52 +00:00
PrettyClassLayoutGraphicalDumper.cpp [llvm-pdbdump] Don't crash when displaying padding. 2017-05-26 00:15:15 +00:00
PrettyClassLayoutGraphicalDumper.h [llvm-pdbdump] Merge functionality of graphical and text dumpers. 2017-04-24 17:47:52 +00:00
PrettyCompilandDumper.cpp [llvm-pdbdump] Add the option to sort functions and data. 2017-05-14 01:13:40 +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 [llvm-pdbdump] Add the option to sort functions and data. 2017-05-14 01:13:40 +00:00
PrettyFunctionDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypeDumper.cpp [llvm-pdbdump] Allow sorting / filtering by immediate padding 2017-04-25 20:22:29 +00:00
PrettyTypeDumper.h [llvm-pdbdump] Recursively dump class layout. 2017-04-13 21:11:00 +00:00
PrettyTypedefDumper.cpp [llvm-pdbdump] More advanced class definition dumping. 2017-04-12 23:18:21 +00:00
PrettyTypedefDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyVariableDumper.cpp [llvm-pdbdump] Re-write the record layout code to be more resilient. 2017-04-24 17:47:24 +00:00
PrettyVariableDumper.h [llvm-pdbdump] Re-write the record layout code to be more resilient. 2017-04-24 17:47:24 +00:00
StreamUtil.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
StreamUtil.h Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
YAMLOutputStyle.cpp [CodeView] Handle Cross Module Imports and Exports. 2017-06-05 21:40:33 +00:00
YAMLOutputStyle.h [CodeView] Support CodeView subsections in any order. 2017-06-02 19:49:14 +00:00
llvm-pdbdump.cpp [CodeView] Support CodeView subsections in any order. 2017-06-02 19:49:14 +00:00
llvm-pdbdump.h [llvm-pdbdump] pdb2yaml: add an -all option to dump everything we can 2017-05-26 23:46:20 +00:00