------- Comment #11 from dberlin at gcc dot gnu dot org  2006-11-15 03:55 
-------
Subject: Re:  DWARF: Not all inline concrete instances are being generated

> OK, so I'll have to find another way of using the DWARF info to see if a 
> inline
> routine, such as __task_rq_lock was used at all in the build or was just
> included in the DWARF info but not referenced anywhere, have to dig more into
> the available information...
>
> BTW, if, in these cases, DW_TAG_subroutine is not referenced, what is the
> purpose of it being included? Is there a reason my limited knowledge is not
> realising?

Well, it is referenced. It did exist in the source, and was inlined.
That's what we output.  DW_TAG_subprogram with no PC range is actually
common.

Because all the inlined instances were optimized away, there are no
DW_TAG_inlined_* entries for them.

>
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29792
>
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29792

Reply via email to