diff options
Diffstat (limited to 'llvm/test/tools/llvm-objcopy/auto-remove-shndx.test')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/auto-remove-shndx.test | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-objcopy/auto-remove-shndx.test b/llvm/test/tools/llvm-objcopy/auto-remove-shndx.test new file mode 100644 index 00000000000..fc3cef10526 --- /dev/null +++ b/llvm/test/tools/llvm-objcopy/auto-remove-shndx.test @@ -0,0 +1,5 @@ +RUN: unzip -p %p/Inputs/many-sections.o.zip > %t +RUN: llvm-objcopy -R=.text -R=s0 -R=s1 -R=s2 -R=s3 -R=s4 -R=s5 -R=s6 %t %t2 +RUN: llvm-readobj -sections %t2 | FileCheck --check-prefix=SECS %s + +SECS-NOT: Name: .symtab_shndx |