forked from OSchip/llvm-project
[LLD][ELF] - Convert binary input to yaml in sht-group.s test. NFC.
This removes test that used binary input and adds a yaml based test instead. llvm-svn: 339774
This commit is contained in:
parent
e8263f33d9
commit
eecc92d7d3
Binary file not shown.
|
@ -1,3 +0,0 @@
|
|||
## sht-group.elf contains SHT_GROUP section with invalid sh_info.
|
||||
# RUN: not ld.lld %p/Inputs/sht-group.elf -o /dev/null 2>&1 | FileCheck %s
|
||||
# CHECK: invalid symbol index
|
|
@ -0,0 +1,18 @@
|
|||
# REQUIRES: x86
|
||||
# RUN: yaml2obj %s -o %t.o
|
||||
# RUN: not ld.lld %t.o -o %t.exe 2>&1 | FileCheck %s
|
||||
# CHECK: invalid symbol index
|
||||
|
||||
--- !ELF
|
||||
FileHeader:
|
||||
Class: ELFCLASS64
|
||||
Data: ELFDATA2LSB
|
||||
Type: ET_REL
|
||||
Machine: EM_X86_64
|
||||
Sections:
|
||||
- Name: .group
|
||||
Type: SHT_GROUP
|
||||
Link: .symtab
|
||||
Info: 12345
|
||||
Members:
|
||||
- SectionOrType: GRP_COMDAT
|
Loading…
Reference in New Issue