[PATCH] D100973: [lld-macho] Support LC_ENCRYPTION_INFO
Jez Ng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 21 10:27:33 PDT 2021
int3 added inline comments.
================
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));
----------------
thakis wrote:
> use hasFlag. Does an explicit `-encryptable` enable this with ld64 when targeting macOS, or does ld64 diag then?
yeah, ld64 happily emits the load command for macOS when passed `-encryptable`
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