[lld] r255039 - COFF: Create an empty but valid PDF file.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 11:11:28 PST 2015


On Tue, Dec 8, 2015 at 11:00 AM David Blaikie <dblaikie at gmail.com> wrote:

> On Tue, Dec 8, 2015 at 10:39 AM, Rui Ueyama via llvm-commits <
> llvm-commits at lists.llvm.org> wrote:
>
>> Author: ruiu
>> Date: Tue Dec  8 12:39:55 2015
>> New Revision: 255039
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=255039&view=rev
>> Log:
>> COFF: Create an empty but valid PDF file.
>>
>
> ^ had me wondering for a second there (PDF files? from the compiler?)
>
>
>>
>> MSVC linker considers PDB files created with this patch valid.
>> So you don't have to remove PDB files created by lld before
>> running MSVC linker.
>>
>> This patch has no test since llvm-pdbdump dislikes PDB files
>> with no metadata streams.
>>
>
> Could we fix the dumper so we can test this please?
>
Dumper is using DIA SDK, and DIA SDK doesn't like PDB files with no
metadata streams.  So this will only be fixed once we have a non-DIA based
dumper, which is blocked on getting Dave B's codeview stuff in.

Once Rui or David M or myself (if I ever finish this Python 3 work) figures
out how to write the PDB metadata stream, then I imagine pdb dumper will
work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151208/f5519e4c/attachment.html>


More information about the llvm-commits mailing list