xref: /llvm-project/llvm/test/tools/llvm-objcopy/MachO/encrypt_info_lc.test (revision d17d50ebc6ee5f0bda1db303b7da0a27bed5c7c1)
1# RUN: yaml2obj %s -o %t
2# RUN: llvm-objcopy %t %t.copy
3# RUN: cmp %t %t.copy
4
5--- !mach-o
6FileHeader:
7  magic:           0xFEEDFACE
8  cputype:         0x0000000C
9  cpusubtype:      0x00000009
10  filetype:        0x00000001
11  ncmds:           1
12  sizeofcmds:      20
13  flags:           0x00002000
14LoadCommands:
15  - cmd:             LC_ENCRYPTION_INFO
16    cmdsize:         20
17    cryptoff:        0
18    cryptsize:       0
19    cryptid:         0
20...
21