================ @@ -899,6 +899,12 @@ def FrameAddress : Builtin { let Prototype = "void*(_Constant unsigned int)"; } +def StackAddress : Builtin { + let Spellings = ["__builtin_stack_address"]; + let Attributes = [NoThrow]; ---------------- AaronBallman wrote:
I wasn't 100% sure; I thought it meant two consecutive calls from the same context, but I can never remember that detail. I'm fine leaving it off though -- we can easily add it later if we find there's a benefit. Thanks! https://github.com/llvm/llvm-project/pull/121332 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits