llvm/tools/llvm-pdbdump
Rui Ueyama 9d24c09035 Pass a filename instead of a msf::WritableStream to PDBFileBuilder::commit.
WritableStream needs the exact file size to open a file, but
until we fix the final layout of a PDB file, we don't know the
size of the file.

This patch changes the parameter type of PDBFileBuilder::commit
to solve that chiecken-and-egg problem. Now the function opens
a file after fixing the layout, so it can create a file with the
exact size.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282940 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-30 20:34:44 +00:00
..
fuzzer
BuiltinDumper.cpp
BuiltinDumper.h
ClassDefinitionDumper.cpp
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
EnumDumper.h
ExternalSymbolDumper.cpp
ExternalSymbolDumper.h
FunctionDumper.cpp
FunctionDumper.h
LinePrinter.cpp
LinePrinter.h
llvm-pdbdump.cpp Pass a filename instead of a msf::WritableStream to PDBFileBuilder::commit. 2016-09-30 20:34:44 +00:00
llvm-pdbdump.h [pdb] Write the IPI stream. 2016-09-15 18:22:31 +00:00
LLVMBuild.txt
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
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
TypeDumper.h
VariableDumper.cpp
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