You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
502 B
21 lines
502 B
## Check we report an error if the relocated section identified by the
|
|
## sh_info field of a relocation section is invalid.
|
|
|
|
# RUN: yaml2obj %s -o %t
|
|
# RUN: not llvm-dwarfdump %t 2>&1 | FileCheck %s -DFILE=%t --check-prefix=ERR
|
|
|
|
# ERR: error: failed to get relocated section: invalid section index: 255
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS64
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_X86_64
|
|
Sections:
|
|
- Name: .rela.debug_info
|
|
Type: SHT_RELA
|
|
Link: 0
|
|
Info: 0xFF
|
|
Relocations: []
|