1 # llvm-objcopy's --strip-sections removes the section headers. It should be
2 # possible to run the tool on the output after this operation. Performing any
3 # subsequent stripping operation, or copying the object, should produce
6 # RUN: yaml2obj %s -o %t.in
7 # RUN: llvm-objcopy %t.in %t.stripped --strip-sections
8 # RUN: llvm-objcopy %t.stripped %t.stripped2 --strip-sections
9 # RUN: llvm-objcopy %t.stripped2 %t.out
10 # RUN: cmp %t.stripped %t.stripped2
11 # RUN: cmp %t.stripped %t.out