COFF: Implement /pdbaltpath flag.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 17 Apr 2018 23:28:38 +0000 (23:28 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 17 Apr 2018 23:28:38 +0000 (23:28 +0000)
commit94aa62e48a1eea0a9e2fbdff5e3dc8d4368afc66
tree9e30e215400be963678dc3be6449fa22c9856913
parent557890126aba7939de2d7e0b5656af8d9f2edf0a
COFF: Implement /pdbaltpath flag.

I needed to revert r330223 because we were embedding an absolute PDB
path in the .rdata section, which ended up being laid out before the
.idata section and affecting its RVAs. This flag will let us control
the embedded path.

Differential Revision: https://reviews.llvm.org/D45747

llvm-svn: 330232
lld/COFF/Config.h
lld/COFF/Driver.cpp
lld/COFF/Writer.cpp
lld/test/COFF/rsds.test