This is an archive of the discontinued LLVM Phabricator instance.

[COFF] Put the PDB next to the image if the user doesn't pass /PDB:
ClosedPublic

Authored by rnk on Mar 21 2017, 5:30 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk created this revision.Mar 21 2017, 5:30 PM
ruiu accepted this revision.Mar 21 2017, 5:33 PM

LGTM

COFF/Driver.cpp
896 ↗(On Diff #92573)

Remove llvm::.

This revision is now accepted and ready to land.Mar 21 2017, 5:33 PM
This revision was automatically updated to reflect the committed changes.
rnk added a comment.Mar 21 2017, 6:59 PM

This broke a CFI stats test, which I XFAILd in a follow up:
http://lab.llvm.org:8011/builders/sanitizer-windows/builds/8407

This makes LLD produce PDBs when it is just passed /debug and nothing else, and our PDBs are obviously incorrect. Is that OK?