1 # RUN: yaml2obj -format=elf %s | llvm-readobj -sections -section-data - | FileCheck %s
11 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
13 Link: .text # Doesn't make sense for SHT_PROGBITS, but good enough for test.
19 # CHECK: Type: SHT_NULL (0x0)
23 # CHECK: Type: SHT_PROGBITS (0x1)
24 # CHECK-NEXT: Flags [ (0x6)
25 # CHECK-NEXT: SHF_ALLOC (0x2)
26 # CHECK-NEXT: SHF_EXECINSTR (0x4)
28 # CHECK-NEXT: Address: 0xCAFEBABE
30 # Check that Link != 0.
31 # CHECK: Link: {{[1-9][0-9]*}}
32 # CHECK: AddressAlignment: 2
33 # CHECK: SectionData (
34 # CHECK-NEXT: 0000: EBFE