This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [debug-early] fix problem with template parameter packs
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Aldy Hernandez <aldyh at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 3 Jun 2015 15:06:54 +0200
- Subject: Re: [debug-early] fix problem with template parameter packs
- Authentication-results: sourceware.org; auth=none
- References: <55482AF6 dot 1090207 at redhat dot com> <5549314D dot 6080804 at redhat dot com> <5549373F dot 6020503 at redhat dot com> <554A4146 dot 4010501 at redhat dot com> <5564A158 dot 8010604 at redhat dot com> <55661C58 dot 6040305 at redhat dot com> <556EFB62 dot 3040209 at redhat dot com>
On Wed, Jun 3, 2015 at 3:04 PM, Aldy Hernandez <aldyh@redhat.com> wrote:
> On 05/27/2015 03:34 PM, Jason Merrill wrote:
>
>> It occurs to me that the early-dwarf work should make
>> debug_abstract_function and most of the DECL_ABSTRACT handling obsolete.
>> All we need to do is set DW_AT_inline during early debug and update it
>> during late debug if the function is inlined.
>
>
> This is certainly a cool idea. I played around with this, and I think we
> should be able to get it to work. However, this won't work for the LTO
> case, because dwarf2out currently works just as our pre-debug-early world
> did. We don't have an early DIE we can annotate later. At least, until we
> get Richi's DIE streaming idea working.
>
> We could temporarily make the LTO case behave like early-debug by emitting
> early DIEs after LTO stream in-- while we get DIE streaming implemented, or
> we could leave the DECL_ABSTRACT redesign post-richi-streaming. I'm leaning
> towards the latter.
Yeah, I think we can delay this until I get the LTO bits working and merged
(well, I mostly have to sit down and re-do the tooling :/)
Richard.
> Thoughts?
>