[clang] [llvm] [ARM] Fix -mno-omit-leaf-frame-pointer flag doesn't works on 32-bit ARM (PR #109628)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 16 18:29:11 PDT 2024
================
@@ -125,6 +125,11 @@ Changes to the ARM Backend
the required alignment space with a sequence of `0x0` bytes (the requested
fill value) rather than NOPs.
+* The default behavior for frame pointers in leaf functions has been updated. When
+ `-fno-omit-frame-pointer` is specified, the frame pointer (FP) will now be retained
+ in leaf functions by default. To eliminate the frame pointer in leaf functions, the
+ `-momit-leaf-frame-pointer` option must be explicitly provided.
----------------
guoxin049 wrote:
OKļ¼Could you kindly review the changes I've made? Thank you.
https://github.com/llvm/llvm-project/pull/109628
More information about the cfe-commits
mailing list