1 ## Test that --strip-all removes debug, linking, and producers sections, but not
2 ## known or unknown-custom sections.
3 # RUN: yaml2obj %s -o %t
4 # RUN: llvm-objcopy --strip-all %t %t2
5 # RUN: obj2yaml %t2 | FileCheck --implicit-check-not=Type: %s
8 # CHECK-NEXT: - Type: TYPE
9 # CHECK: - Type: CUSTOM
10 # CHECK-NEXT: Name: .objcopy.removed
11 # CHECK: - Type: CUSTOM
12 # CHECK-NEXT: Name: .objcopy.removed
13 # CHECK: - Type: CUSTOM
14 # CHECK-NEXT: Name: .objcopy.removed
15 # CHECK: - Type: CUSTOM
16 # CHECK-NEXT: Name: foo