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"
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)
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)
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)