You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.cfi_negate_ra_state is emitted before the corresponding instruction which is incorrect.
Debuggers or unwinders might not able to unwind the frames correctly.
This is a regression on the 20.x release (19.x is not affected): #137800
revert on the mainline: #137795
The text was updated successfully, but these errors were encountered:
`.cfi_negate_ra_state` is emitted before the corresponding instruction which is incorrect.
Debuggers or unwinders might not able to unwind the frames correctly.
This is a regression on the 20.x release (19.x is not affected): #137800
revert on the mainline: #137795
…ion (llvm#137795)
This reverts partially this commit
0b73b5a.
This is not a clear revert because other changes already landed.
CFI directives like `.cfi_negate_ra_state` must be emitted after the
instruction.
If the execution is stopped before the `paciasp` instruction is executed
the debugger/unwinder would try to authenticated the return address as
the `.cfi_negate_ra_state` already indicates it got signed.
fixes: llvm#137802
.cfi_negate_ra_state
is emitted before the corresponding instruction which is incorrect.Debuggers or unwinders might not able to unwind the frames correctly.
This is a regression on the 20.x release (19.x is not affected): #137800
revert on the mainline: #137795
The text was updated successfully, but these errors were encountered: