[clang] Enable frame pointer for non-leaf functions on Android (PR #97614)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 12:10:07 PDT 2024


yabinc wrote:

Currently, we have frame pointer only for non-leaf functions for AArch64, RISCV64, and frame pointer for all functions for ARM. I feel frame pointer for leaf functions isn't needed to unwind a callstack (For the leaf function, we already have the IP register pointing to the leaf function). So I choose to have frame pointer only for non-leaf functions for X86, X86_64. But keep ARM behavior unchanged.

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


More information about the cfe-commits mailing list