This load command records a range spanning from the end of the load
commands to the end of the __TEXT segment. Presumably the kernel will encrypt
all this data.
Details
Details
- Reviewers
thakis - Group Reviewers
Restricted Project - Commits
- rGab9c21bbab38: [lld-macho] Support LC_ENCRYPTION_INFO
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
nice!
lld/MachO/Driver.cpp | ||
---|---|---|
968–972 | use hasFlag. Does an explicit -encryptable enable this with ld64 when targeting macOS, or does ld64 diag then? |
lld/MachO/Driver.cpp | ||
---|---|---|
968–972 | yeah, ld64 happily emits the load command for macOS when passed -encryptable |
Comment Actions
Test fails for me with:
/Users/thakis/src/llvm-project/out/gn/bin/llvm-mc: error: : error: unable to get target for 'arm64_32-apple-watchos', see --version and --triple.
I only enable the x86 target in llvm. Either needs a REQUIRES: aarch64 or the arm bits should be in their own file or something.
use hasFlag. Does an explicit -encryptable enable this with ld64 when targeting macOS, or does ld64 diag then?