[all-commits] [llvm/llvm-project] cfeb25: [lld][AArch64] Add support for GCS (#90732)

John Brawn via All-commits all-commits at lists.llvm.org
Tue May 21 09:34:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfeb25cd7e92d5e854aa92034f18da2e5fa3e27a
      https://github.com/llvm/llvm-project/commit/cfeb25cd7e92d5e854aa92034f18da2e5fa3e27a
  Author: John Brawn <john.brawn at arm.com>
  Date:   2024-05-21 (Tue, 21 May 2024)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    A lld/test/ELF/aarch64-feature-gcs.s

  Log Message:
  -----------
  [lld][AArch64] Add support for GCS (#90732)

This adds the -z gcs and -z gcs-report options, which behave similarly
to -z shtk and -z cet-report, except that -z gcs accepts a parameter:
* -z gcs=implicit is the default behaviour, where the GCS bit is
inferred from the input objects.
 * -z gcs=never clears the GCS bit, ignoring the input objects.
 * -z gcs=always sets the GCS bit, ignoring the input objects.

This is so that there's a means of explicitly disabling GCS even when
all input objects have the GCS bit set.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list