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

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 12:01:04 PST 2017


Rui Ueyama <ruiu at google.com> writes:

>> The only complication we have that is unfortunately necessary given how
>> current debug info is implemented is that a non-alloc (and therefore
>> live) section can have a relocation pointing to a dead alloc section.
>>
>
> Does that mean we are keeping some debug sections although they can be
> gc'ed?

A debug section can point to two sections, one of which is live.

Cheers,
Rafael


More information about the llvm-commits mailing list