[PATCH] D29170: [ELF] - Remove unnessesary checks from GC logic.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 08:40:04 PST 2017


grimar added a comment.

In https://reviews.llvm.org/D29170#657588, @davide wrote:

> Do we have a test to make sure sections containing debug info (marked as !SHF_ALLOC) are not reclaimed? I'm a little bit worried because this broke already in the past.


Yes, we do.
For example gc-sections-alloc.s has !SHF_ALLOC section that is kept, while allocatable section it refers to is collected.


https://reviews.llvm.org/D29170





More information about the llvm-commits mailing list