Also hook up the option in the MinGW driver.
Sent as one single review item for simplicity, but I can commit as two separate commits for COFF/MinGW.
Paths
| Differential D58380
[LLD] [COFF] Add -exclude-all-symbols for MinGW ClosedPublic Authored by mstorsjo on Feb 19 2019, 1:10 AM.
Details
Summary Also hook up the option in the MinGW driver. Sent as one single review item for simplicity, but I can commit as two separate commits for COFF/MinGW.
Diff Detail Event Timeline
mstorsjo added inline comments.
This revision is now accepted and ready to land.Feb 19 2019, 12:50 PM Closed by commit rL354386: [COFF] Add -exclude-all-symbols for MinGW (authored by mstorsjo). · Explain WhyFeb 19 2019, 2:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 187323 COFF/Driver.cpp
COFF/Options.td
MinGW/Driver.cpp
MinGW/Options.td
test/COFF/exclude-all.s
test/MinGW/driver.test
|
Shouldn't this be Config->MinGW && Config->DLL && ...? IIUC this is a mingw extension, and we don't want to run the code below if not mingw.