[lld] [llvm] [LLD][ELF][AArch64] Add support for SHF_AARCH64_PURECODE ELF section flag (3/3) (PR #125689)

Csanád Hajdú via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 08:21:24 PST 2025


================
@@ -459,6 +459,8 @@ static void checkOptions(Ctx &ctx) {
       ErrAlways(ctx) << "-z gcs-report only supported on AArch64";
     if (ctx.arg.zGcs != GcsPolicy::Implicit)
       ErrAlways(ctx) << "-z gcs only supported on AArch64";
+    if (ctx.arg.zExecuteOnlyReport != "none")
----------------
Il-Capitano wrote:

That sounds good to me. I've already written the test cases in the mean time, so I'll wait for MaskRay to chime in if I should remove that part from this patch.

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


More information about the llvm-commits mailing list