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
Paths
| Differential D45737
COFF: Merge .idata, .didat and .edata into .rdata by default. ClosedPublic Authored by pcc on Apr 17 2018, 2:17 PM.
Details
Summary This saves a little space and matches what link.exe does. Tested using the chromium Windows trybots:
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 17 2018, 2:43 PM Closed by commit rLLD330223: COFF: Merge .idata, .didat and .edata into .rdata by default. (authored by pcc). · Explain WhyApr 17 2018, 2:49 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 142837 lld/COFF/Driver.cpp
lld/test/COFF/arm64-relocs-imports.test
lld/test/COFF/delayimports-armnt.yaml
lld/test/COFF/delayimports.test
lld/test/COFF/delayimports32.test
lld/test/COFF/export-armnt.yaml
lld/test/COFF/hello32.test
lld/test/COFF/imports.test
lld/test/COFF/pdb-publics-import.test
lld/test/COFF/symtab.test
|
This is the only weird thing in the test updates.
@zturner I'm not sure if this is a pre-existing problem with our pdb emission?