[Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions
wilson at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 28 23:59:00 GMT 2005
------- Additional Comments From wilson at gcc dot gnu dot org 2005-04-28 23:58 -------
Created an attachment (id=8760)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8760&action=view)
Emit DW_AT_call_file and DW_AT_CALL_line for inlined subroutines.
This emits extra debug info that describes where an inlined subroutine was
called from. This extra info would allow one to construct backtraces that
contain info about inlined subroutines.
This has been tested with an x86-linux bootstrap, make check, and gdb make
check. There were no regressions.
I haven't checked in the patch yet as I have no proof that it does anything
useful, since neither binutils nor gdb handle this new debug info. I'm waiting
for patches from Fred that will make use of this new info.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20967
More information about the Gcc-bugs
mailing list