[Bug target/114116] [14 Regression] Broken backtraces in bootstrapped x86_64 gcc

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 26 17:48:15 GMT 2024


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114116

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|hjl.tools at gmail dot com         |unassigned at gcc dot gnu.org

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Jakub Jelinek from comment #5)
> Yeah.  Not to mention, one can call backtrace even if -g0; you just don't
> get nice names for the addresses.  Without the patch you get crashes in the
> unwinder when doing backtrace.

Should we generate REG_CFA_UNDEFINED for unsaved callee-saved registers to
help unwinder:

https://patchwork.sourceware.org/project/gcc/list/?series=30327


More information about the Gcc-bugs mailing list