1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00
llvm-mirror/test/DebugInfo/PDB
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
..
DIA Update llvm-pdbdump to use subcommands. 2016-06-30 17:42:48 +00:00
Inputs [llvm-pdbdump] Restore error messages, handle bad block sizes 2016-04-28 23:47:27 +00:00
pdbdump-headers.test [pdb] Add command line options for dumping individual streams and blocks 2016-09-09 18:17:52 +00:00
pdbdump-raw-blocks.test [pdb] Add command line options for dumping individual streams and blocks 2016-09-09 18:17:52 +00:00
pdbdump-raw-stream.test [pdb] Print out some more info when dumping a raw stream. 2016-09-09 19:00:49 +00:00
pdbdump-readwrite.test Do not pass a superblock to PDBFileBuilder. 2016-09-30 20:52:12 +00:00
pdbdump-write.test [pdb] Write TPI hash values to the TPI stream. 2016-09-14 23:00:02 +00:00
pdbdump-yaml-types.test Re-add "Make FieldList records print as a YAML sequence" 2016-09-06 23:45:47 +00:00
pdbdump-yaml.test [pdbdump] Use the "flow" style to print out a sequence of uint32_t. 2016-07-20 19:41:47 +00:00