brintos

brintos / llvm-project-archived public Read only

0
0
Text · 480 B · c180860 Raw
18 lines · plain
1# RUN: yaml2obj %s -o %t.o2# RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s3# RUN: ld.lld %t.o -o /dev/null --noinhibit-exec4 5# CHECK: error: {{.*}}.o:(.text): sh_addralign is not a power of 26 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:    0x318