HomePhabricator

Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default."…

Description

Reland r330223, "COFF: Merge .idata, .didat and .edata into .rdata by default.", which was reverted in r330228.

In this reland I removed an unnecessary use of /debug in the test
delayimports32.test and used the /pdbaltpath flag in the test
pdb-publics-import.test, both of which avoid embedding absolute PDB
paths in executables which could affect later RVAs.

Original commit message:

COFF: Merge .idata, .didat and .edata into .rdata by default.

This saves a little space and matches what link.exe does.

Tested using the chromium Windows trybots:
https://chromium-review.googlesource.com/c/chromium/src/+/1014784

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

Details

Committed
pccApr 17 2018, 4:28 PM
Differential Revision
D45737: COFF: Merge .idata, .didat and .edata into .rdata by default.
Parents
rL330232: COFF: Implement /pdbaltpath flag.
Branches
Unknown
Tags
Unknown