reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
   48
   49
   50
@ RUN: llvm-mc -triple thumbv7-apple-ios -filetype=obj -o %t %s
@ RUN: llvm-objdump -macho -p -indirect-symbols %t | FileCheck %s

@ CHECK: Indirect symbols for (__DATA,__thread_ptr)
@ CHECK: 0x0000001c     5 _a


@ CHECK: sectname __thread_data
@ CHECK: segname __DATA
@ CHECK: type S_THREAD_LOCAL_REGULAR

@ CHECK: sectname __thread_vars
@ CHECK: segname __DATA
@ CHECK: type S_THREAD_LOCAL_VARIABLES

@ CHECK: sectname __thread_bss
@ CHECK: segname __DATA
@ CHECK: type S_THREAD_LOCAL_ZEROFILL

@ CHECK: sectname __thread_ptr
@ CHECK: segname __DATA
@ CHECK: type S_THREAD_LOCAL_VARIABLE_POINTERS


        .section        __DATA,__thread_data,thread_local_regular
        .p2align        2
_b$tlv$init:
        .long 42

        .section        __DATA,__thread_vars,thread_local_variables
        .globl        _b
_b:
        .long        __tlv_bootstrap
        .long        0
        .long        _b$tlv$init

.tbss _c$tlv$init, 4, 2                 @ @c

        .globl        _c
_c:
        .long        __tlv_bootstrap
        .long        0
        .long        _c$tlv$init


        .section        __DATA,__thread_ptr,thread_local_variable_pointers
        .p2align        2
L_a$non_lazy_ptr:
        .indirect_symbol        _a
        .long        0