1 # Check that yaml2obj takes in account section AddressAlign field.
3 # RUN: yaml2obj %s > %t
4 # RUN: llvm-readobj -s %t | FileCheck %s
8 # CHECK-NEXT: Name: .data
9 # CHECK-NEXT: Type: SHT_PROGBITS
11 # CHECK-NEXT: SHF_ALLOC
12 # CHECK-NEXT: SHF_WRITE
14 # CHECK-NEXT: Address: 0x0
15 # CHECK-NEXT: Offset: 0x{{[0-9A-F]*}}00
19 # CHECK-NEXT: AddressAlignment: 256
20 # CHECK-NEXT: EntrySize: 0
29 Flags: [ EF_MIPS_CPIC, EF_MIPS_ABI_O32, EF_MIPS_ARCH_32 ]
34 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
39 Flags: [ SHF_WRITE, SHF_ALLOC ]