[PATCH] D36546: Garbage-collect common symbols.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 9 13:17:30 PDT 2017
ruiu created this revision.
Herald added a subscriber: emaste.
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
https://reviews.llvm.org/D36546
Files:
lld/ELF/MarkLive.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/ELF/SyntheticSections.cpp
lld/ELF/Writer.cpp
lld/test/ELF/common-gc.s
lld/test/ELF/common-gc2.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36546.110464.patch
Type: text/x-patch
Size: 5221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170809/6054b668/attachment.bin>
More information about the llvm-commits
mailing list