[clang] [llvm] [SystemZ] Global Stackprotector and associated location section (PR #169317)

Ulrich Weigand via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 08:24:19 PST 2026


================
@@ -5841,6 +5834,14 @@ def mstack_protector_guard_reg_EQ : Joined<["-"], "mstack-protector-guard-reg=">
   Visibility<[ClangOption, CC1Option]>,
   HelpText<"Use the given reg for addressing the stack-protector guard">,
   MarshallingInfoString<CodeGenOpts<"StackProtectorGuardReg">>;
+def mstackprotector_guard_record
+    : Flag<["-"], "mstack-protector-guard-record">,
+      HelpText<
+          "Generate a __stack_protector_loc section entry for each load of "
+          "the stackguard address.">,
----------------
uweigand wrote:

Please do change this to "stack-protector guard address".

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


More information about the cfe-commits mailing list