This is the mail archive of the gcc-bugs@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: [Bug debug/29792] 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





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