[PATCH] D100973: [lld-macho] Support LC_ENCRYPTION_INFO
    Nico Weber via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Apr 21 10:13:44 PDT 2021
    
    
  
thakis accepted this revision.
thakis added a comment.
This revision is now accepted and ready to land.
nice!
================
Comment at: lld/MachO/Driver.cpp:968-972
+  config->emitEncryptionInfo =
+      args.hasArg(OPT_encryptable) ||
+      (!args.hasArg(OPT_no_encryption) &&
+       is_contained(encryptablePlatforms,
+                    config->platformInfo.target.Platform));
----------------
use hasFlag. Does an explicit `-encryptable` enable this with ld64 when targeting macOS, or does ld64 diag then?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100973/new/
https://reviews.llvm.org/D100973
    
    
More information about the llvm-commits
mailing list