1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/tools/llvm-pdbdump
Rui Ueyama d0fef82d91 Do not pass a superblock to PDBFileBuilder.
When we create a PDB file using PDBFileBuilder, the information
in the superblock, such as the size of the resulting file, is not
available.

Previously, PDBFileBuilder::initialize took a superblock assuming
that all the members of the struct are correct. That is useful when
you want to restore the exact information from a YAML file, but
that's probably the only use case in which that is useful.
When we are creating a PDB file on the fly, we have to backfill the
members.

This patch redefines PDBFileBuilder::initialize to take only a
block size. Now all the other members are left as default values,
so that they'll be updated when commit() is called.

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

llvm-svn: 282944
2016-09-30 20:52:12 +00:00
..
fuzzer
BuiltinDumper.cpp
BuiltinDumper.h
ClassDefinitionDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
ClassDefinitionDumper.h
CMakeLists.txt Resubmit "Write the TPI stream from a PDB to Yaml." 2016-08-18 16:49:29 +00:00
CodeViewYaml.cpp [pdb] Get rid of Data and RawData in CVType. 2016-09-14 23:00:16 +00:00
CodeViewYaml.h [pdb] Get rid of Data and RawData in CVType. 2016-09-14 23:00:16 +00:00
CompilandDumper.cpp Make llvm-pdbdump print column info when available 2016-08-17 23:01:03 +00:00
CompilandDumper.h
EnumDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
EnumDumper.h
ExternalSymbolDumper.cpp
ExternalSymbolDumper.h
FunctionDumper.cpp
FunctionDumper.h
LinePrinter.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
LinePrinter.h
llvm-pdbdump.cpp Do not pass a superblock to PDBFileBuilder. 2016-09-30 20:52:12 +00:00
llvm-pdbdump.h [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMOutputStyle.cpp [pdb] Get rid of Data and RawData in CVType. 2016-09-14 23:00:16 +00:00
LLVMOutputStyle.h [pdb] Print out some more info when dumping a raw stream. 2016-09-09 19:00:49 +00:00
OutputStyle.h Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
PdbYaml.cpp [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
PdbYaml.h [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
TypedefDumper.cpp
TypedefDumper.h
TypeDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
TypeDumper.h
VariableDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
VariableDumper.h
YAMLOutputStyle.cpp [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
YAMLOutputStyle.h [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
YamlSerializationContext.h [pdb] Write PDB TPI Stream from Yaml. 2016-09-09 17:46:17 +00:00