This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/29792] DWARF: Not all inline concrete instances are being generated
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Nov 2006 03:55:05 -0000
- Subject: [Bug debug/29792] DWARF: Not all inline concrete instances are being generated
- References: <bug-29792-13543@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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