1 ## Here we test how Solaris specific flags are dumped.
3 # RUN: yaml2obj %s -o %t.o
4 # RUN: llvm-readobj -S %t.o | FileCheck %s
6 # CHECK: Name: .os.flags.low
7 # CHECK-NEXT: Type: SHT_PROGBITS
8 # CHECK-NEXT: Flags [ (0x100000)
9 # CHECK-NEXT: SHF_SUNW_NODISCARD (0x100000)
11 # CHECK: Name: .os.flags.high
12 # CHECK-NEXT: Type: SHT_PROGBITS
13 # CHECK-NEXT: Flags [ (0xFE00000)
15 # CHECK: Name: .os.flags.mask
16 # CHECK-NEXT: Type: SHT_PROGBITS
17 # CHECK-NEXT: Flags [ (0xFF00000)
18 # CHECK-NEXT: SHF_SUNW_NODISCARD (0x100000)
25 OSABI: ELFOSABI_SOLARIS
31 - Name: .os.flags.high
34 - Name: .os.flags.mask