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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 11:06:13 PST 2015


On Tue, Dec 8, 2015 at 10:51 AM, Peter Collingbourne <peter at pcc.me.uk>
wrote:

> On Tue, Dec 08, 2015 at 06:39:56PM -0000, Rui Ueyama via llvm-commits
> 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.
> >
> > 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 you test this with a Windows-only test that runs the MSVC linker
> after
> running LLD on a small input file?


I tried that, but looks like the environment in which lit tests run has
"link" command of the GNU coreutils, so I couldn't call link.exe.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151208/3a436686/attachment.html>


More information about the llvm-commits mailing list