This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Generate namespace info for dwarf2
- From: Jason Merrill <jason at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Jan Hubicka <Jh at suse dot cz>, Benjamin Kosnik <bkoz at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 01 Dec 2003 15:32:33 -0500
- Subject: Re: [PATCH]: Generate namespace info for dwarf2
- References: <Pine.LNX.4.56.0311301135400.31387@dberlin.org><454BED28-2360-11D8-BE3D-000A95DA505C@dberlin.org>
On Sun, 30 Nov 2003 13:08:59 -0500, Daniel Berlin <dberlin@dberlin.org> wrote:
> 1. We inline some functions into cxa_begin_catch
> 2. We call (*debug_hooks->outlining_inline_function) (decl); on the inlined
> function before we've outputted the debug info for the non-inlined version
> of the function.
You mean for decl == cxa_begin_catch? That's OK.
> 3. We try to add an abstract origin to one of the inlined functions
> parameters, which of course, fails miserably, because it can't find the die
> for the non-inlined version (since it hasn't been output yet).
We're supposed to output it on demand through dwarf2out_abstract_function.
> This is probably a latent bug, because we never used to output info about
> the inlined version before this patch.
How could that be? What do namespaces have to do with this?
Jason