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
9 # CHECK-NEXT: Segment: __TEXT
11 .section __LLVM,__bundle
14 .section __LLVM,__bitcode
17 .section __LLVM,__cmdline
20 .section __LLVM,__swift_cmdline