1// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump --dump-section-data | FileCheck %s 2 3 ja 1f 41: nop 5 jae 1f 61: nop 7 jb 1f 81: nop 9 jbe 1f 101: nop 11 jc 1f 121: nop 13 jecxz 1f 141: nop 15 jecxz 1f 161: nop 17 je 1f 181: nop 19 jg 1f 201: nop 21 jge 1f 221: nop 23 jl 1f 241: nop 25 jle 1f 261: nop 27 jna 1f 281: nop 29 jnae 1f 301: nop 31 jnb 1f 321: nop 33 jnbe 1f 341: nop 35 jnc 1f 361: nop 37 jne 1f 381: nop 39 jng 1f 401: nop 41 jnge 1f 421: nop 43 jnl 1f 441: nop 45 jnle 1f 461: nop 47 jno 1f 481: nop 49 jnp 1f 501: nop 51 jns 1f 521: nop 53 jnz 1f 541: nop 55 jo 1f 561: nop 57 jp 1f 581: nop 59 jpe 1f 601: nop 61 jpo 1f 621: nop 63 js 1f 641: nop 65 jz 1f 661: nop 67 68// CHECK: ('cputype', 7) 69// CHECK: ('cpusubtype', 3) 70// CHECK: ('filetype', 1) 71// CHECK: ('num_load_commands', 1) 72// CHECK: ('load_commands_size', 124) 73// CHECK: ('flag', 0) 74// CHECK: ('load_commands', [ 75// CHECK: # Load Command 0 76// CHECK: (('command', 1) 77// CHECK: ('size', 124) 78// CHECK: ('segment_name', '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 79// CHECK: ('vm_addr', 0) 80// CHECK: ('vm_size', 96) 81// CHECK: ('file_offset', 152) 82// CHECK: ('file_size', 96) 83// CHECK: ('maxprot', 7) 84// CHECK: ('initprot', 7) 85// CHECK: ('num_sections', 1) 86// CHECK: ('flags', 0) 87// CHECK: ('sections', [ 88// CHECK: # Section 0 89// CHECK: (('section_name', '__text\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 90// CHECK: ('segment_name', '__TEXT\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') 91// CHECK: ('address', 0) 92// CHECK: ('size', 96) 93// CHECK: ('offset', 152) 94// CHECK: ('alignment', 0) 95// CHECK: ('reloc_offset', 0) 96// CHECK: ('num_reloc', 0) 97// CHECK: ('flags', 0x80000400) 98// CHECK: ('reserved1', 0) 99// CHECK: ('reserved2', 0) 100// CHECK: ), 101// CHECK: ('_relocations', [ 102// CHECK: ]) 103// CHECK: ('_section_data', '77009073 00907200 90760090 720090e3 0090e300 90740090 7f00907d 00907c00 907e0090 76009072 00907300 90770090 73009075 00907e00 907c0090 7d00907f 00907100 907b0090 79009075 00907000 907a0090 7a00907b 00907800 90740090') 104// CHECK: ]) 105// CHECK: ), 106// CHECK: ]) 107