[clang] [clang][Driver] Link libssp_nonshared.a on musl with stack protector (PR #219828)

via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 09:28:45 PDT 2026


================
@@ -0,0 +1,28 @@
+// Check that on musl the driver links libssp_nonshared.a when stack
+// protection is enabled and the sysroot provides the library.
+
+// RUN: %clang -### --target=i686-unknown-linux-musl \
+// RUN:   --sysroot=%S/Inputs/musl_ssp_tree -fstack-protector-strong %s 2>&1 \
----------------
windsunil wrote:

Done. reflowed all RUN commands to two lines. Thanks for the review. Could you please commit this on my behalf? I don't have commit access yet. Thanks.

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


More information about the cfe-commits mailing list