1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-pdbdump
Zachary Turner 707767bc86 [PDB] Add support for parsing Flags from PDB Stream.
This was discovered when running `llvm-pdbdump diff` against
two files, the second of which was generated by running the
first one through pdb2yaml and then yaml2pdb.

The second one was missing some bytes from the PDB Stream, and
tracking this down showed that at the end of the PDB Stream were
some additional bytes that we were ignoring.  Looking back
to the reference code, these seem to specify some additional
flags that indicate whether the PDB supports various optional
features.

This patch adds support for reading, writing, and round-tripping
these flags through YAML and the raw dumper, and updates the
tests accordingly.

llvm-svn: 297984
2017-03-16 20:19:11 +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
LinePrinter.cpp
LinePrinter.h
llvm-pdbdump.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
llvm-pdbdump.h [pdb] Write the module info and symbol record streams. 2017-03-15 22:18:53 +00:00
LLVMBuild.txt
LLVMOutputStyle.cpp [PDB] Add support for parsing Flags from PDB Stream. 2017-03-16 20:19:11 +00:00
LLVMOutputStyle.h Add the beginning of PDB diffing support. 2017-03-13 23:28:25 +00:00
OutputStyle.h
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 [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyBuiltinDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyClassDefinitionDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyClassDefinitionDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +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 [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyFunctionDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypedefDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypedefDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypeDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyTypeDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyVariableDumper.cpp [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +00:00
PrettyVariableDumper.h [CodeView/PDB] Rename a bunch of files. 2017-01-11 00:35:43 +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 [PDB] Make streams carry their own endianness. 2017-02-28 00:04:07 +00:00
YamlTypeDumper.h [CodeView] Hook up CodeViewRecordIO to type serialization path. 2016-11-08 22:24:53 +00:00