[libcxx-commits] [libcxx] [libc++] Disable SSP in `clear_padding.pass.cpp` (PR #218130)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 9 02:43:32 PDT 2026


================
@@ -22,7 +22,9 @@
 // XFAIL: clang-23 && asan
 // UNSUPPORTED: clang-24 && asan
 
-// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile -Wno-dynamic-class-memaccess
+// This test crashes with -fstack-protector-strong
+// (see https://github.com/llvm/llvm-project/issues/212002)
+// ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile -Wno-dynamic-class-memaccess -fno-stack-protector
----------------
philnik777 wrote:

Can you put this on a separate `// ADDITIONAL_COMPILE_FLAGS` line to avoid mixing stuff we want to keep with stuff that should be removed again?

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


More information about the libcxx-commits mailing list