brintos

brintos / llvm-project-archived public Read only

0
0
Text · 376 B · 4e622ac Raw
16 lines · plain
1## Spec says that "If a file has no section header table, e_shnum holds the value zero.", though2## in this test case it holds non-zero and lld used to crash.3 4# RUN: yaml2obj %s -o %t5# RUN: ld.lld %t -o /dev/null6 7--- !ELF8FileHeader:9  Class:     ELFCLASS6410  Data:      ELFDATA2LSB11  Type:      ET_REL12  Machine:   EM_X86_6413  EShOff:    014  EShNum:    0x115  EShStrNdx: 016