Liveness is usually a notion of input sections, but this patch adds
"liveness" bit to common symbols because they don't belong to any
input section.
This patch is based on https://reviews.llvm.org/D36520
Paths
| Differential D36546
Garbage-collect common symbols. ClosedPublic Authored by ruiu on Aug 9 2017, 1:16 PM.
Details Summary Liveness is usually a notion of input sections, but this patch adds This patch is based on https://reviews.llvm.org/D36520
Diff Detail
Event TimelineComment Actions LGTM, thanks !
This revision is now accepted and ready to land.Aug 10 2017, 12:44 AM Closed by commit rL310617: Garbage-collect common symbols. (authored by ruiu). · Explain WhyAug 10 2017, 8:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 110590 lld/trunk/ELF/MarkLive.cpp
lld/trunk/ELF/Symbols.h
lld/trunk/ELF/Symbols.cpp
lld/trunk/ELF/SyntheticSections.cpp
lld/trunk/ELF/Writer.cpp
lld/trunk/test/ELF/common-gc.s
lld/trunk/test/ELF/common-gc2.s
|