[PATCH] D27415: [ELF] - Replace MergeOutputSection with synthetic input section MergeSection.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 02:04:58 PST 2016


> Does that mean we are keeping some debug sections although they can be gc'ed?


I am not sure "gc" is correct word here. We do not mark non-alloc sections as reachable/unreachable to

do gc for them I think. Because they point to something, but not something points to them.


It also looks not possible to have debug section that points only on dead alloc sections.

At least until you have any .text alive.


Anyways that discussion and possible improvements for above is already a bit away from area of that patch.

Do you think details above is a stopper for landing this one ?


George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161214/c099ee22/attachment.html>


More information about the llvm-commits mailing list