mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
d0fef82d91
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 |
||
---|---|---|
.. | ||
fuzzer | ||
BuiltinDumper.cpp | ||
BuiltinDumper.h | ||
ClassDefinitionDumper.cpp | ||
ClassDefinitionDumper.h | ||
CMakeLists.txt | ||
CodeViewYaml.cpp | ||
CodeViewYaml.h | ||
CompilandDumper.cpp | ||
CompilandDumper.h | ||
EnumDumper.cpp | ||
EnumDumper.h | ||
ExternalSymbolDumper.cpp | ||
ExternalSymbolDumper.h | ||
FunctionDumper.cpp | ||
FunctionDumper.h | ||
LinePrinter.cpp | ||
LinePrinter.h | ||
llvm-pdbdump.cpp | ||
llvm-pdbdump.h | ||
LLVMBuild.txt | ||
LLVMOutputStyle.cpp | ||
LLVMOutputStyle.h | ||
OutputStyle.h | ||
PdbYaml.cpp | ||
PdbYaml.h | ||
TypedefDumper.cpp | ||
TypedefDumper.h | ||
TypeDumper.cpp | ||
TypeDumper.h | ||
VariableDumper.cpp | ||
VariableDumper.h | ||
YAMLOutputStyle.cpp | ||
YAMLOutputStyle.h | ||
YamlSerializationContext.h |