[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / ARM / tls-directives.s
blob69a026892899f9ae1f3342c8fd5fbb9963dea577
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
26 .p2align 2
27 _b$tlv$init:
28 .long 42
30 .section __DATA,__thread_vars,thread_local_variables
31 .globl _b
32 _b:
33 .long __tlv_bootstrap
34 .long 0
35 .long _b$tlv$init
37 .tbss _c$tlv$init, 4, 2 @ @c
39 .globl _c
40 _c:
41 .long __tlv_bootstrap
42 .long 0
43 .long _c$tlv$init
46 .section __DATA,__thread_ptr,thread_local_variable_pointers
47 .p2align 2
48 L_a$non_lazy_ptr:
49 .indirect_symbol _a
50 .long 0