[PATCH] Use GCC LTO wrapper to get real symbols from LTO IR objects

H.J. Lu hjl.tools@gmail.com
Tue Feb 11 17:04:00 GMT 2020


On Tue, Feb 11, 2020 at 8:07 AM Michael Matz <matz@suse.de> wrote:
>
> Hi,
>
> On Mon, 10 Feb 2020, H.J. Lu wrote:
>
> > > Wow, that's a lot of work to get proper symbol type.  What happens if
> >
> > Very true.  I couldn't come up with a better solution without changing
> > plugin API.
>
> Then, it should perhaps be changed?  The cure without that (i.e. your
> patch) looks worse than the disease (temporary files, hardcoding path
> layouts, dependence on gcc installed) :-/
>
> I know why you wrote the patch as is, but ... ugh.

I think plugin API should be extended.  In the meantime, we have a problem
to solve.

-- 
H.J.



More information about the Binutils mailing list