================ @@ -4248,6 +4248,39 @@ assignment can happen automatically. to a variable, have its address taken, or passed into or returned from a function, because doing so violates bounds safety conventions. +.. _builtin_stack_address-doc: + +``__builtin_stack_address`` +--------------------------- + +``__builtin_stack_address`` returns the address that separates the current +function's (i.e. the one calling the builtin) stack space and the region of the +stack that may be modified by called functions. The semantics match those of GCC's builtin of the same name. + +**Note:** Support for this builtin is currently limited to the following architectures: x86_64, x86. ---------------- efriedma-quic wrote:
Also note here. https://github.com/llvm/llvm-project/pull/148281 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
