[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 07:25:37 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:
No particular reason other than this patch is concerned with only `SHF_AARCH64_PURECODE`, and I hadn't thought about implementing this for ARM as well. I could add support for it here if you prefer, or open another PR implementing that once this gets merged.
https://github.com/llvm/llvm-project/pull/125689
    
    
More information about the llvm-commits
mailing list