1## This test verifies that the load commands LC_THREAD/LC_UNIXTHREAD 2## are copied correctly. 3 4# RUN: yaml2obj -D LC_NAME=LC_THREAD %s -o %t.lc_thread.exe 5# RUN: llvm-objcopy %t.lc_thread.exe %t.lc_thread.exe.copy 6# RUN: cmp %t.lc_thread.exe %t.lc_thread.exe.copy 7 8# RUN: yaml2obj -D LC_NAME=LC_UNIXTHREAD %s -o %t.lc_unixthread.exe 9# RUN: llvm-objcopy %t.lc_unixthread.exe %t.lc_unixthread.exe.copy 10# RUN: cmp %t.lc_unixthread.exe %t.lc_unixthread.exe.copy 11 12--- !mach-o 13IsLittleEndian: true 14FileHeader: 15 magic: 0xFEEDFACF 16 cputype: 0x1000007 17 cpusubtype: 0x3 18 filetype: 0x2 19 ncmds: 1 20 sizeofcmds: 184 21 flags: 0x18085 22 reserved: 0x0 23LoadCommands: 24 - cmd: [[LC_NAME]] 25 cmdsize: 184 26 PayloadBytes: [ 0x4, 0x0, 0x0, 0x0, 0x2A, 0x0, 0x0, 0x0, 0x0, 0x0, 27 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 28 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 29 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 30 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 31 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 32 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 33 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 34 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 35 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 36 0x0, 0x0, 0x0, 0x0, 0x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