1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objcopy --strip-non-alloc %t %t2
3 # RUN: llvm-readobj --file-headers --sections %t2 | FileCheck %s
12 - Name: non_alloc_in_segment
21 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
26 # Use an arbitrary segment type to show that the segment type is unimportant.
29 - Section: non_alloc_in_segment
31 # CHECK: SectionHeaderCount: 5
33 # CHECK: Name: non_alloc_in_segment
36 # CHECK: Name: .shstrtab