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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits