[lld] [LLD][Docs] Document -z gcs= option in the man page (PR #146522)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 2 01:52:38 PDT 2025


================
@@ -953,6 +958,15 @@ disallows overlap.
 .It Cm shstk
 x86 only, use shadow stack.
 .Pp
+.It Cm gcs Ns = Ns Ar [implicit|never|always]
+Specify how the GCS bit is set. A set GCS bit indicates that the object file supports the Guarded Control Stack security feature.
+.Cm implicit
+is the default, where the GCS bit is inferred from the input objects.
----------------
sivan-shani wrote:

ack, wording improved

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


More information about the llvm-commits mailing list