[clang] [llvm] [Clang] Add `__builtin_stack_address` (PR #148281)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 2 00:47:49 PDT 2025


================
@@ -14389,6 +14389,34 @@ Semantics:
 
 Note this intrinsic is only verified on AArch64 and ARM.
 
+'``llvm.stackaddress``' Intrinsic
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Syntax:
+"""""""
+
+::
+
+      declare ptr @llvm.stackaddress()
+
+Overview:
+"""""""""
+
+The '``llvm.stackaddress``' instrinsic returns the starting address of the stack region that may be
+used by called functions.
----------------
nikic wrote:

The text here looks over-wide. LLVM usually uses 80 columns, including for docs.

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


More information about the llvm-commits mailing list