This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Generate namespace info for dwarf2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]