[ThinLTO] Add code comment. NFC
[llvm-complete.git] / test / MC / ELF / section-numeric-flag.s
blobebfffbce31c2f12f116fae04211d35793bc7c592
1 // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux-gnu %s -o - \
2 // RUN: | llvm-readobj -S --symbols | FileCheck %s
4 .section .text, "0x806", %progbits, unique, 0
5 .section .comment, "0x21"
8 // CHECK: Section {
9 // CHECK: Name: .text (1)
10 // CHECK-NEXT: Type: SHT_PROGBITS (0x1)
11 // CHECK-NEXT: Flags [ (0x6)
12 // CHECK-NEXT: SHF_ALLOC (0x2)
13 // CHECK-NEXT: SHF_EXECINSTR (0x4)
14 // CHECK-NEXT: ]
15 // CHECK: Size: 0
16 // CHECK: }
18 // CHECK: Section {
19 // CHECK: Name: .text (1)
20 // CHECK-NEXT: Type: SHT_PROGBITS (0x1)
21 // CHECK-NEXT: Flags [ (0x806)
22 // CHECK-NEXT: SHF_ALLOC (0x2)
23 // CHECK-NEXT: SHF_COMPRESSED (0x800)
24 // CHECK-NEXT: SHF_EXECINSTR (0x4)
25 // CHECK-NEXT: ]
26 // CHECK: Size: 0
27 // CHECK: }
29 // CHECK: Section {
30 // CHECK: Name: .comment (7)
31 // CHECK-NEXT: Type: SHT_PROGBITS (0x1)
32 // CHECK-NEXT: Flags [ (0x21)
33 // CHECK-NEXT: SHF_STRINGS (0x20)
34 // CHECK-NEXT: SHF_WRITE (0x1)
35 // CHECK-NEXT: ]
36 // CHECK: Size: 0
37 // CHECK: }