1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib/DebugInfo
Rui Ueyama 64da81a152 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

llvm-svn: 282940
2016-09-30 20:34:44 +00:00
..
CodeView [pdb] Get rid of Data and RawData in CVType. 2016-09-14 23:00:16 +00:00
DWARF Revert r282238 "Revert r282235 "[llvm-dwarfdump] - Teach dwarfdump to dump gdb-index section."" 2016-09-23 11:01:53 +00:00
MSF [pdb] Write TPI hash values to the TPI stream. 2016-09-14 23:00:02 +00:00
PDB Pass a filename instead of a msf::WritableStream to PDBFileBuilder::commit. 2016-09-30 20:34:44 +00:00
Symbolize Fix the ASan fuse-lld.cc test after LLD r280012 2016-09-01 20:28:59 +00:00
CMakeLists.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00
LLVMBuild.txt [msf] Resubmit "Rename Msf -> MSF". 2016-07-29 20:56:36 +00:00