That fixes a case when section has more than one metadata section.
Previously GC would collect one of such sections because we had implementation
that stored only last one as dependent.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D29981
[ELF] - Allow section to have multiple dependent sections. ClosedPublic Authored by grimar on Feb 15 2017, 2:18 AM.
Details Summary That fixes a case when section has more than one metadata section.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 15 2017, 12:35 PM Closed by commit rL295298: [ELF] - Allow section to have multiple dependent sections. (authored by grimar). · Explain WhyFeb 16 2017, 12:53 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 88673 lld/trunk/ELF/InputFiles.cpp
lld/trunk/ELF/InputSection.h
lld/trunk/ELF/MarkLive.cpp
lld/trunk/test/ELF/gc-sections-metadata2.s
|