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

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 11:16:52 PST 2015


On Tue, Dec 8, 2015 at 11:11 AM, Zachary Turner <zturner at google.com> wrote:

>
>
> 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.
>

Ah, OK - thanks for the details


>   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/bf8c8220/attachment.html>


More information about the llvm-commits mailing list