1 @ RUN
: llvm-mc
-triple thumbv7-apple-ios
-filetype
=obj
-o
%t %s
2 @ RUN
: llvm-objdump
-macho
-p
-indirect-symbols
%t | FileCheck
%s
4 @ CHECK
: Indirect symbols for
(__DATA
,__thread_ptr
)
5 @ CHECK
: 0x0000001c 5 _a
8 @ CHECK
: sectname __thread_data
9 @ CHECK
: segname __DATA
10 @ CHECK
: type S_THREAD_LOCAL_REGULAR
12 @ CHECK
: sectname __thread_vars
13 @ CHECK
: segname __DATA
14 @ CHECK
: type S_THREAD_LOCAL_VARIABLES
16 @ CHECK
: sectname __thread_bss
17 @ CHECK
: segname __DATA
18 @ CHECK
: type S_THREAD_LOCAL_ZEROFILL
20 @ CHECK
: sectname __thread_ptr
21 @ CHECK
: segname __DATA
22 @ CHECK
: type S_THREAD_LOCAL_VARIABLE_POINTERS
25 .section __DATA,__thread_data,thread_local_regular
30 .section __DATA,__thread_vars,thread_local_variables
37 .tbss _c$tlv$init, 4, 2 @ @c
46 .section __DATA,__thread_ptr,thread_local_variable_pointers