This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49167] dwarf marker for function return instruction
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 3 Jun 2011 19:09:42 +0000
- Subject: [Bug debug/49167] dwarf marker for function return instruction
- Auto-submitted: auto-generated
- References: <bug-49167-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49167
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-03 19:09:04 UTC ---
For tail calls, you have in GCC 4.7 (and 4.6-RH in Fedora 16) the
DW_TAG_GNU_call_site* stuff from which you can (sometimes) reconstruct the
actual backtrace. The return value from the function that tail called another
one is by definition the same as from the tail callee.