[lld] r252790 - Add support for processing .eh_frame.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 18 15:03:11 PST 2016


On 11 January 2016 at 20:54, Davide Italiano <davide at freebsd.org> wrote:
> On Fri, Nov 27, 2015 at 12:22 PM, Hal Finkel via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> Hi Rafael,
>>
>> You had suggested that I model proper PPC64 .opd support after this implementation; could you please elaborate?
>>
>
> +1, I hit the same issue on PPC.

Sorry, this had dropped out the end of my email queue.

Yes, at least from the description it looks like .opd has the same
problems as .eh_frame. So basically:

* Add a OpdInputSection.
* Add a OpdOutputSection.
* In OpdOutpuSection::addSection, parse the .opd section, ignoring
entries that point to discarded (comdat or gced) section.

Cheers,
Rafael


More information about the llvm-commits mailing list