1 # NOTE: This test is only intended to be valid as long as --only-keep-debug is
2 # implemented as a NOP. This test should fail when that changes and you
3 # will need to update this test.
5 # RUN: yaml2obj %s > %t
6 # RUN: llvm-objcopy %t %t2
7 # RUN: llvm-objcopy --only-keep-debug %t %t3
9 # RUN: llvm-strip --only-keep-debug --no-strip-all %t -o %t4
21 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]