1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-objdump --macho --reloc %t | FileCheck %s --check-prefix=OBJDUMP-VERIFY
4 # OBJDUMP-VERIFY-NOT: Relocation information
6 # RUN: obj2yaml %t | FileCheck %s
9 # CHECK-NEXT: - sectname: __text
10 # CHECK-NEXT: segname: __TEXT
11 # CHECK-NEXT: addr: 0x0
13 # CHECK-NEXT: offset: 0xC8
14 # CHECK-NEXT: align: 0
15 # CHECK-NEXT: reloff: 0x0
16 # CHECK-NEXT: nreloc: 0
17 # CHECK-NEXT: flags: 0x80000000
18 # CHECK-NEXT: reserved1: 0x0
19 # CHECK-NEXT: reserved2: 0x0
20 # CHECK-NEXT: reserved3: 0x0
21 # CHECK-NEXT: content: ''
22 # CHECK-NOT: relocations:
28 cpusubtype: 0x00000003
49 addr: 0x0000000000000000
61 - cmd: LC_VERSION_MIN_MACOSX