1@ RUN: llvm-mc -triple thumbv7-apple-ios -filetype=obj -o %t %s 2@ RUN: llvm-objdump -macho -p -indirect-symbols %t | FileCheck %s 3 4@ CHECK: Indirect symbols for (__DATA,__thread_ptr) 5@ CHECK: 0x0000001c 5 _a 6 7 8@ CHECK: sectname __thread_data 9@ CHECK: segname __DATA 10@ CHECK: type S_THREAD_LOCAL_REGULAR 11 12@ CHECK: sectname __thread_vars 13@ CHECK: segname __DATA 14@ CHECK: type S_THREAD_LOCAL_VARIABLES 15 16@ CHECK: sectname __thread_bss 17@ CHECK: segname __DATA 18@ CHECK: type S_THREAD_LOCAL_ZEROFILL 19 20@ CHECK: sectname __thread_ptr 21@ CHECK: segname __DATA 22@ CHECK: type S_THREAD_LOCAL_VARIABLE_POINTERS 23 24 25 .section __DATA,__thread_data,thread_local_regular 26 .p2align 2 27_b$tlv$init: 28 .long 42 29 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 36 37.tbss _c$tlv$init, 4, 2 @ @c 38 39 .globl _c 40_c: 41 .long __tlv_bootstrap 42 .long 0 43 .long _c$tlv$init 44 45 46 .section __DATA,__thread_ptr,thread_local_variable_pointers 47 .p2align 2 48L_a$non_lazy_ptr: 49 .indirect_symbol _a 50 .long 0 51