[PATCH] D23145: pdbdump: Write a free page map to page 1 or page 2.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 17:37:19 PDT 2016


Any particular reason you don't want to support writing split fpms yet?
Just call `WritableMappedBlockStream::createFpmStream` and then writeBytes
on the result, and everything should just work
On Wed, Aug 3, 2016 at 5:30 PM Rui Ueyama <ruiu at google.com> wrote:

> ruiu created this revision.
> ruiu added a reviewer: zturner.
> ruiu added a subscriber: llvm-commits.
>
> As I wrote in a comment, llvm-pdbdump seems to not be able to restore
> stream 0 correctly. That is why we get different results for empty.pdb
> and our pdb file.
>
> This patch is to write only one FPM. So it still cannot produce large
> PDBs which need more than one FPM page.
>
> https://reviews.llvm.org/D23145
>
> Files:
>   lib/DebugInfo/MSF/MSFBuilder.cpp
>   lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp
>   test/DebugInfo/PDB/pdbdump-readwrite.test
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160804/7deff26f/attachment.html>


More information about the llvm-commits mailing list