brintos

brintos / llvm-project-archived public Read only

0
0
Text · 502 B · a69282d Raw
21 lines · yaml
1## Check we report an error if the relocated section identified by the2## sh_info field of a relocation section is invalid.3 4# RUN: yaml2obj %s -o %t5# RUN: not llvm-dwarfdump %t 2>&1 | FileCheck %s -DFILE=%t --check-prefix=ERR6 7# ERR: error: failed to get relocated section: invalid section index: 2558 9--- !ELF10FileHeader:11  Class:   ELFCLASS6412  Data:    ELFDATA2LSB13  Type:    ET_REL14  Machine: EM_X86_6415Sections:16- Name: .rela.debug_info17  Type: SHT_RELA18  Link: 019  Info: 0xFF20  Relocations: []21