1 // RUN
: llvm-mc
-filetype
=obj
-triple thumbv7m-arm-linux-gnu
%s
-o
- \
2 // RUN
: | llvm-readobj
-S
--symbols | FileCheck
%s
4 .section .text,"axy",%progbits,unique,0
14 .size foo, .Lfunc_end0-foo
17 .section ".note.GNU-stack","",%progbits
21 // CHECK
: Name
: .text (16)
22 // CHECK-NEXT
: Type
: SHT_PROGBITS
(0x1)
23 // CHECK-NEXT
: Flags
[ (0x20000006)
24 // CHECK-NEXT
: SHF_ALLOC
(0x2)
25 // CHECK-NEXT
: SHF_ARM_PURECODE
(0x20000000)
26 // CHECK-NEXT
: SHF_EXECINSTR
(0x4)
32 // CHECK
: Name
: .text (16)
33 // CHECK-NEXT
: Type
: SHT_PROGBITS
(0x1)
34 // CHECK-NEXT
: Flags
[ (0x20000006)
35 // CHECK-NEXT
: SHF_ALLOC
(0x2)
36 // CHECK-NEXT
: SHF_ARM_PURECODE
(0x20000000)
37 // CHECK-NEXT
: SHF_EXECINSTR
(0x4)
43 // CHECK
: Name
: foo
(22)
44 // CHECK
: Section
: .text (0x3)