[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-objcopy / MachO / bitcode-strip-object.s
blobe697669fca8aef5834dadbf981d3889e95541275
1 # REQUIRES: x86-registered-target
3 ## Verify llvm-bitcode-strip removes sections from object files
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t
5 # RUN: llvm-bitcode-strip -r %t -o %t2
6 # RUN: llvm-readobj --macho-segment --sections %t2 | FileCheck --implicit-check-not=__LLVM %s
8 # CHECK: Name: __text
9 # CHECK-NEXT: Segment: __TEXT
11 .section __LLVM,__bundle
12 .asciz "test"
14 .section __LLVM,__bitcode
15 .asciz "test"
17 .section __LLVM,__cmdline
18 .asciz "test"
20 .section __LLVM,__swift_cmdline
21 .asciz "test"
23 .section __LLVM,__asm
24 .asciz "test"
26 .text
27 .globl _main
28 _main:
29 ret