[llvm] [ARM] Fix -mno-omit-leaf-frame-pointer flag doesn't works on 32-bit ARM (PR #109628)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 14:33:20 PDT 2024


https://github.com/efriedma-quic commented:

Please add a release note to llvm/docs/ReleaseNotes.rst and clang/docs/ReleaseNotes.rst.

clang, as far as I can tell, currently defaults to `-mno-omit-leaf-frame-pointer`; do we want to change that, so new versions of clang are consistent with older versions and gcc by default?  This is useLeafFramePointerForTargetByDefault in clang/lib/Driver/ToolChains/CommonArgs.cpp .

(I probably should have mentioned both of these earlier, but I was focused more on the code change itself, not the bigger picture...)

https://github.com/llvm/llvm-project/pull/109628


More information about the llvm-commits mailing list