https://sourceware.org/bugzilla/show_bug.cgi?id=32952
Bug ID: 32952
Summary: sframe: incorrect handling of .cfi_undefined in gas
Product: binutils
Version: 2.45 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: indu.bhagat at oracle dot com
Target Milestone: ---
In context of SFrame generation, it is incorrect to simply ignore all
.cfi_undefined directives. We may ignore only those .cfi_undefined which are
for registers of no interest to SFrame (similar to whats done for other CFI
directives).
As per the DWARF standard:
"If a Return Address register is defined in the virtual unwind table, and its
rule is undefined (for example, by DW_CFA_undefined), then there is no return
address and no call address, and the virtual unwind of stack activations is
complete."
Ignoring .cfi_undefied RA, as it is being done now, is incorrect.
--
You are receiving this mail because:
You are on the CC list for the bug.