1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 12:33:33 +02: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 Make PDBFile take a StreamInterface instead of a MemBuffer. 2016-06-10 05:10:19 +00:00
BuiltinDumper.cpp Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
BuiltinDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
ClassDefinitionDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
ClassDefinitionDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
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 Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
EnumDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
EnumDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
ExternalSymbolDumper.cpp Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
ExternalSymbolDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
FunctionDumper.cpp Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
FunctionDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
LinePrinter.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
LinePrinter.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
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 Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
TypedefDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
TypeDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
TypeDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
VariableDumper.cpp Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
VariableDumper.h Move pdb code into pdb namespace. 2016-05-04 20:32:13 +00:00
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