brintos

brintos / llvm-project-archived public Read only

0
0
Text · 635 B · 32e673f Raw
22 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: not ld.lld %t -o /dev/null 2>&1 | FileCheck %s3# RUN: ld.lld %t -o /dev/null --noinhibit-exec 2>&1 | FileCheck %s4 5## In current lld implementation, we do not accept sh_addralign6## larger than UINT32_MAX.7!ELF8FileHeader:9  Class:           ELFCLASS6410  Data:            ELFDATA2LSB11  Type:            ET_REL12  Machine:         EM_X86_6413Sections:14  - Name:            .text15    Type:            SHT_PROGBITS16    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]17    AddressAlign:    0x100000000000000018    Offset:          0x10019    Content:         "00000000"20 21# CHECK: section sh_addralign is too large22