1 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-objcopy --set-section-flags=.foo=alloc --set-section-flags=.bar=code %t %t.2
4 # RUN: llvm-readobj --sections %t.2 | FileCheck %s
21 # CHECK-NEXT: Type: SHT_PROGBITS
23 # CHECK-NEXT: SHF_ALLOC (0x2)
24 # CHECK-NEXT: SHF_WRITE (0x1)
28 # CHECK-NEXT: Type: SHT_PROGBITS
30 # CHECK-NEXT: SHF_EXECINSTR (0x4)
31 # CHECK-NEXT: SHF_WRITE (0x1)