This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] PR 12389
On Sun, Oct 19, 2003 at 02:52:17PM +0200, Jan Hubicka wrote:
> > really means this *)
> >
> > DW_INL_declared_inlined same
> > DW_INL_inlined same
> > DW_INL_declared_not_inlined Declared inline but no other DIE refers to this
> > entry as its abstract origin.
> > DW_INL_not_inlined Not declared inline and no other DIE refers to
> > this entry as its abstract origin.
> >
> > And since these references (DW_AT_abstract_origin) are per compilation
> > unit (DW_TAG_compile_unit), the answer seems to be no.
>
> Good, doing it this way is definitly easier. Thanks!
I think I was wrong about the DW_AT_abstract_origin, although
I stick with that it doesn't matter whether or not a function
is inlined in _another_ compilation unit.
Every DIE that contains a DW_AT_inline is abstract (doesn't contain
a low_pc/high_pc) and will have thus at least one DW_AT_abstract_origin
refering to it (namely by its concrete instantiation).
So basically I meant "no DIE of an _inlined_ function refers to it",
with the same conclusion because DW_AT_abstract_origin references
don't refer across compilation units.
--
Carlo Wood <carlo@alinoe.com>