[llvm-exegesis] Improve Register Setup.
[llvm-core.git] / test / tools / llvm-objcopy / remove-shndx.test
blobb8ea94cbc1da902143424ac255d0c9e677a6aac6
1 # This test checks to see that a .symtab_shndx section is added to any binary
2 # that needs it, even if the original was removed.
3 RUN: %python %p/Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %t
4 RUN: llvm-objcopy -R .symtab_shndx %t %t2
5 RUN: llvm-readobj -sections %t2 | FileCheck %s
7 CHECK: Name: .symtab_shndx (