[lld] [AArch64][GCS][LLD] Introduce -zgcs-report-dynamic Command Line Option (PR #127787)

Jack Styles via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 00:49:25 PST 2025


================
@@ -49,11 +49,37 @@
 # REPORT-WARN: warning: func2.o: -z gcs-report: file does not have GNU_PROPERTY_AARCH64_FEATURE_1_GCS property
 # REPORT-ERROR: error: func3.o: -z gcs-report: file does not have GNU_PROPERTY_AARCH64_FEATURE_1_GCS property
----------------
Stylie777 wrote:

The tests are using a `force-gcs.so` shared file, created on Line 17, which has GCS forced on. Am I correct in thinking that forcing GCS on will emit the GNU Property in the final `.so` ELF file?

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


More information about the llvm-commits mailing list