This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Apr 2005 23:52:15 -0000
- Subject: [Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions
- References: <20050412123108.20967.fnf@specifixinc.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at gcc dot gnu dot org 2005-04-28 23:52 -------
My opinion is roughly the same as Daniel's. The debug info being emitted by gcc
here is fine.
The underlying problem here is that Fred is trying to improve support for
inlined function calls, and the current structure of the debug info emitted by
gcc makes this difficult. However, Fred pointed me at the dwarf3 docs for
DW_AT_call_file and DW_AT_call_line. It turns out to be easy to make gcc emit
this extra debug info, and I have written a patch that does so. This patch does
not fix this PR, but it does make it moot.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20967