Currently we can have more than one output section with the same name. The LinkerScript filter() method removes only first section found in name lookup.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D23122
[ELF] Linkerscript: remove repeated sections in LinkerScript<ELFT>::filter ClosedPublic Authored by evgeny777 on Aug 3 2016, 7:07 AM.
Details
Summary Currently we can have more than one output section with the same name. The LinkerScript filter() method removes only first section found in name lookup.
Diff Detail Event Timelineruiu edited edge metadata. Comment ActionsLGTM
This revision is now accepted and ready to land.Aug 3 2016, 10:59 AM
Revision Contents
Diff 66662 ELF/LinkerScript.cpp
test/ELF/linkerscript/linkerscript-sections-constraint.s
|
This is basically remove_if, so let's name removeIf.