Now that I have debugged this further, I don't think this is the best solution.
But there is an easy fix to the old patch (setting Used) and it is probably better to first commit this and then review the alternative.
Paths
| Differential D46036
Bring r329960 back ClosedPublic Authored by • espindola on Apr 24 2018, 4:57 PM.
Details
Diff Detail Event TimelineComment Actions Actually, I misread the location of the call to demoteSharedSymbols. I now think this is the proper fix as it just simplifies the symbols before we start processing the relocations. This revision is now accepted and ready to land.Apr 24 2018, 5:14 PM
Revision Contents
Diff 143839 ELF/Driver.cpp
test/ELF/as-needed-weak.s
test/ELF/gc-sections-shared.s
|
Please add {} here and one line below.