mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
71a88d00fa
Copy LC_ENCRYPT_INFO/LC_ENCRYPT_INFO_64 load commands. Test plan: make check-all Differential revision: https://reviews.llvm.org/D78339
23 lines
503 B
Plaintext
23 lines
503 B
Plaintext
# RUN: yaml2obj %s -o %t
|
|
# RUN: llvm-objcopy %t %t.copy
|
|
# RUN: cmp %t %t.copy
|
|
|
|
--- !mach-o
|
|
FileHeader:
|
|
magic: 0xFEEDFACF
|
|
cputype: 0x0100000C
|
|
cpusubtype: 0x00000000
|
|
filetype: 0x00000002
|
|
ncmds: 1
|
|
sizeofcmds: 24
|
|
flags: 0x00002000
|
|
reserved: 0x00000000
|
|
LoadCommands:
|
|
- cmd: LC_ENCRYPTION_INFO_64
|
|
cmdsize: 24
|
|
cryptoff: 0
|
|
cryptsize: 0
|
|
cryptid: 0
|
|
pad: 0
|
|
...
|