[clang] Allow the no_stack_protector attribute on local variables (PR #173311)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 13 13:38:46 PST 2026


================
@@ -0,0 +1,68 @@
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s | FileCheck %s
----------------
AaronBallman wrote:

We should have a test case which uses the attribute and passes `-fstack-protector-all` to demonstrate the behavior.

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


More information about the cfe-commits mailing list