1 ## Test bitcode section and segment removal.
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-bitcode-strip -r %t -o %t2
4 # RUN: llvm-readobj --macho-segment --sections %t2 | FileCheck --implicit-check-not=Name: %s
7 # CHECK-NEXT: Segment: __TEXT
8 # CHECK: Name: __bundle
9 # CHECK-NEXT: Segment: __DATA
10 # CHECK: Cmd: LC_SEGMENT_64
11 # CHECK-NEXT: Name: __TEXT
12 # CHECK: Cmd: LC_SEGMENT_64
13 # CHECK-NEXT: Name: __DATA
19 cpusubtype: 0x00000003
40 addr: 0x0000000000000000
65 addr: 0x0000000000000004
90 addr: 0x0000000000000008
100 reserved3: 0x00000000