diff options
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/remove-shndx.test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/remove-shndx.test | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/remove-shndx.test b/llvm/test/tools/llvm-objcopy/remove-shndx.test new file mode 100644 index 00000000000..b862b815404 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/remove-shndx.test @@ -0,0 +1,6 @@ +RUN: unzip -p %p/Inputs/many-sections.o.zip > %t +RUN: llvm-objcopy -R=.symtab_shndxr %t %t2 +RUN: llvm-readobj -sections %t2 | FileCheck %s + +CHECK: Name: .symtab_shndx ( + |