Skip to content

Commit

Permalink
[Arm] Cleanup arm_m_exception_cache
Browse files Browse the repository at this point in the history
With this change, only valid contents of LR are accepted when unwinding
exception frames for m-profile targets.

If the contents of LR are anything but EXC_RETURN or FNC_RETURN, it
will cause GDB to print an error and/or abort unwinding of the frame as
it's an invalid state for the unwinder.

The FNC_RETURN pattern requires Security Extensions to be enabled.

Signed-off-by: Torbjörn SVENSSON <[email protected]>
  • Loading branch information
Torbjorn-Svensson authored and luis-machado-arm committed Aug 11, 2022
1 parent 4535952 commit df4860d
Showing 1 changed file with 203 additions and 178 deletions.
Loading

0 comments on commit df4860d

Please sign in to comment.