1 @ RUN
: llvm-mc
-triple armv7-elf
-filetype obj
-o
- %s | llvm-readelf
-s
- | FileCheck
%s
3 @ CHECK
: Num
: Value Size Type Bind Vis Ndx Name
4 @ CHECK-NEXT
: 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
5 @ CHECK-NEXT
: 1: 00000001 0 FUNC LOCAL DEFAULT
2 implicit_function
6 @ CHECK-NEXT
: 2: 00000000 0 NOTYPE LOCAL DEFAULT
2 $t.0
7 @ CHECK-NEXT
: 3: 00000002 0 OBJECT LOCAL DEFAULT
2 implicit_data
8 @ CHECK-NEXT
: 4: 00000002 0 NOTYPE LOCAL DEFAULT
2 $d.1
9 @ CHECK-NEXT
: 5: 00000008 0 FUNC LOCAL DEFAULT
2 arm_function
10 @ CHECK-NEXT
: 6: 00000008 0 NOTYPE LOCAL DEFAULT
2 $
a.2
11 @ CHECK-NEXT
: 7: 0000000c
0 NOTYPE LOCAL DEFAULT
2 untyped_text_label
12 @ CHECK-NEXT
: 8: 0000000c
0 NOTYPE LOCAL DEFAULT
2 $t.3
13 @ CHECK-NEXT
: 9: 0000000f
0 FUNC LOCAL DEFAULT
2 explicit_function
14 @ CHECK-NEXT
: 10: 00000010 0 NOTYPE LOCAL DEFAULT
2 $d.4
15 @ CHECK-NEXT
: 11: 00000000 4 TLS LOCAL DEFAULT
5 tls
16 @ CHECK-NEXT
: 12: 00000015 0 IFUNC LOCAL DEFAULT
2 indirect_function
17 @ CHECK-NEXT
: 13: 00000014 0 NOTYPE LOCAL DEFAULT
2 $t.5
18 @ CHECK-NEXT
: 14: 00000000 0 NOTYPE LOCAL DEFAULT
4 untyped_data_label
19 @ CHECK-NEXT
: 15: 00000000 0 NOTYPE LOCAL DEFAULT
4 $t.6
20 @ CHECK-NEXT
: 16: 00000002 0 OBJECT LOCAL DEFAULT
4 explicit_data
21 @ CHECK-NEXT
: 17: 00000002 0 NOTYPE LOCAL DEFAULT
4 $d.7
28 .type implicit_function,%function
32 .type implicit_data,%object
37 .type arm_function,%function
48 .type explicit_function,%function
54 .type indirect_function,%gnu_indirect_function
63 .type explicit_data,%object
67 .section .tdata,"awT",%progbits