HomePhabricator

[Mips] Always save RA when disabling frame pointer elimination

Description

[Mips] Always save RA when disabling frame pointer elimination

This ensures that frame-based unwinding will continue to work when
calling a noreturn function; there is not much use having the caller's
frame pointer saved if you don't also have the caller's program counter.

Patch by James Clarke.

Differential Revision: https://reviews.llvm.org/D68542

Details

Committed
atanasyanOct 7 2019, 7:01 AM
Differential Revision
D68542: [Mips] Always save RA when disabling frame pointer elimination
Parents
rL373906: [Mips] Fix evaluating J-format branch targets
Branches
Unknown
Tags
Unknown