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
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
LLVMBuild.txt
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
LinePrinter.h
OutputStyle.h
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
PrettyBuiltinDumper.h
PrettyClassDefinitionDumper.cpp [llvm-pdbdump] Allow sorting / filtering by immediate padding 2017-04-25 20:22:29 +00:00
PrettyClassDefinitionDumper.h
PrettyClassLayoutGraphicalDumper.cpp [llvm-pdbdump] Don't crash when displaying padding. 2017-05-26 00:15:15 +00:00
PrettyClassLayoutGraphicalDumper.h
PrettyCompilandDumper.cpp [llvm-pdbdump] Add the option to sort functions and data. 2017-05-14 01:13:40 +00:00
PrettyCompilandDumper.h
PrettyEnumDumper.cpp
PrettyEnumDumper.h
PrettyExternalSymbolDumper.cpp
PrettyExternalSymbolDumper.h
PrettyFunctionDumper.cpp [llvm-pdbdump] Add the option to sort functions and data. 2017-05-14 01:13:40 +00:00
PrettyFunctionDumper.h
PrettyTypeDumper.cpp [llvm-pdbdump] Allow sorting / filtering by immediate padding 2017-04-25 20:22:29 +00:00
PrettyTypeDumper.h
PrettyTypedefDumper.cpp
PrettyTypedefDumper.h
PrettyVariableDumper.cpp
PrettyVariableDumper.h
StreamUtil.cpp [PDB] Don't build the entire source file list up front. 2017-05-04 23:53:29 +00:00
StreamUtil.h
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