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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 17:00:19 PST 2016


On Mon, Jan 18, 2016 at 3:03 PM, Rafael EspĂ­ndola <
llvm-commits at lists.llvm.org> wrote:

> 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.
>

You want to take a look at MipsReginfo{Input,Output}Section because that's
a good example of doing that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160119/1963d976/attachment.html>


More information about the llvm-commits mailing list