llvm-for-llvmta/test/tools/llvm-objcopy/MachO/encrypt_info_lc.test

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
...