Don't GC non-alloc mergeable section pieces
authorEugene Leviant <evgeny.leviant@gmail.com>
Thu, 29 Sep 2016 10:27:10 +0000 (10:27 +0000)
committerEugene Leviant <evgeny.leviant@gmail.com>
Thu, 29 Sep 2016 10:27:10 +0000 (10:27 +0000)
commitd2778848ef63485876baa7c32b7c199e125dea41
treeff8299e3b06a3fa2439ae0da1a448a09530c46ef
parent1abe30a762c1df31e0afdf30027945c5a47c69bd
Don't GC non-alloc mergeable section pieces

Differential revision: https://reviews.llvm.org/D25033

llvm-svn: 282708
lld/ELF/InputSection.cpp
lld/ELF/MarkLive.cpp
lld/test/ELF/Inputs/comment-gc.s [new file with mode: 0644]
lld/test/ELF/comment-gc.s [new file with mode: 0644]
lld/test/ELF/debug-gc.s