[clang] [clang][Sema] Add noinline check for __builtin_frame_address and __builtin_return_address (PR #82966)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 2 14:21:46 PST 2024
Sirraide wrote:
> In my opinion, it's confusing for the behavior to change depending on optimization levels
I will say, if you’re calling `__builtin_frame_address` when optimisations are enabled then I’m not quite sure what you’re expecting, candidly; I’m not convinced we should warn on this, but I’m also not that familiar w/ how people typically use this builtin.
https://github.com/llvm/llvm-project/pull/82966
More information about the cfe-commits
mailing list