]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/invalid/symbol-index.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / invalid / symbol-index.s
1 ## symbol-index.elf has incorrect type of .symtab section.
2 ## There is no symbol bodies because of that and any symbol index becomes incorrect.
3 ## Section Headers:
4 ##   [Nr] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
5 ##   [ 0]                   NULL            0000000000000000 000000 000000 00      0   0  0
6 ## ...
7 ##   [ 4] .symtab           RELA            0000000000000000 000048 000030 18      1   2  8
8 # RUN: not ld.lld %p/Inputs/symbol-index.elf -o /dev/null 2>&1 | \
9 # RUN:   FileCheck --check-prefix=INVALID-SYMBOL-INDEX %s
10 # INVALID-SYMBOL-INDEX: invalid symbol index