gcc-patches@gcc.gnu.org
[Top] [All Lists]

Re: PR22034

Subject: Re: PR22034
From: Jan Hubicka
Date: Thu, 11 Aug 2005 20:25:36 +0200
> Jan Hubicka <jh@xxxxxxx> writes:
> 
> [...]
> 
> | The decl is _ZTVZ19GetAssertStackTracevE9StackDump (vtable for
> | GetAssertStackTrace()::StackDump) whose context is the class itself.
> | Why do we emit debug infos for vtables at first place?
> 
> I don't know, but I've certainly done the exercise of debugging
> vtables and type_infos in the not too distant past.  I would think
> theat vtables' context are their classes -- independently of whether
> they are defined at local or nonlocal scopes.

This is precisely what the code did originally and what leads to ICE as
the record_type (class) has no DIE...  I am really quite unsure what is
proper representation here...

Honza
> 
> | I seem to get that probably best thing would be to get the context set
> | to the type but we don't produce dies for types at all, right?
> 
> I'm not an expert in that domain -- I know barely enough to follow the
> discussions on dwarf mailing list.
> 
> -- Gaby

<Prev in Thread] Current Thread [Next in Thread>