This is the mail archive of the
mailing list for the GCC project.
Re: LTO inhibiting dwarf lexical blocks output
- From: Steven Bosscher <stevenb dot gcc at gmail dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Richard Biener <richard dot guenther at gmail dot com>, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 15 Aug 2014 22:08:38 +0200
- Subject: Re: LTO inhibiting dwarf lexical blocks output
- Authentication-results: sourceware.org; auth=none
- References: <53EE66B1 dot 7040105 at redhat dot com>
On Fri, Aug 15, 2014 at 9:59 PM, Aldy Hernandez wrote:
> So... I've been getting my feet wet with LTO and debugging and I noticed a
> seemingly unrelated yet annoying problem. On x86-64,
> gcc.dg/guality/pr48437.c fails when run in LTO mode.
Eh, sorry I can't actually answer your question but, eh...
Isn't the only real solution: to generate this kind of DIEs earlier
(maybe already immediately after parsing) and stream them?
Otherwise, how can this possibly be made to work with multi-language LTO?
It seems to me that only the lowest-level DWARF (things we don't know
about until RTL, like CFI) should be done at link time. Things like
scoping and types are language dependent and have to be generated
Again, sorry for not actually being helpful - just a thought ;-)