mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 10:16:06 +00:00

Copy LC_ENCRYPT_INFO/LC_ENCRYPT_INFO_64 load commands. Test plan: make check-all Differential revision: https://reviews.llvm.org/D78339
21 lines
447 B
Plaintext
21 lines
447 B
Plaintext
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-objcopy %t %t.copy
|
|
# RUN: cmp %t %t.copy
|
|
|
|
--- !mach-o
|
|
FileHeader:
|
|
magic: 0xFEEDFACE
|
|
cputype: 0x0000000C
|
|
cpusubtype: 0x00000009
|
|
filetype: 0x00000001
|
|
ncmds: 1
|
|
sizeofcmds: 20
|
|
flags: 0x00002000
|
|
LoadCommands:
|
|
- cmd: LC_ENCRYPTION_INFO
|
|
cmdsize: 20
|
|
cryptoff: 0
|
|
cryptsize: 0
|
|
cryptid: 0
|
|
...
|