llvm.org GIT mirror llvm / 894e54f test / tools / llvm-objcopy / ELF / auto-remove-shndx.test
894e54f

Tree @894e54f (Download .tar.gz)

auto-remove-shndx.test @894e54fraw · history · blame

1
2
3
4
5
# RUN: %python %p/../Inputs/ungzip.py %p/Inputs/many-sections.o.gz > %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