blob: de694d8d471f8a0926cf5bedc17d2af58fe04cee [file] [log] [blame]
Eric Christopher09fae6d2010-05-22 00:55:55 +00001; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s
Eric Christopher0f986f62010-05-22 00:10:22 +00002
3@a = thread_local global i32 0 ; <i32*> [#uses=0]
4@b = thread_local global i32 0 ; <i32*> [#uses=0]
5
6; CHECK: .tbss _a$tlv$init, 4, 2
7; CHECK: .section __DATA,__thread_vars,thread_local_variables
8; CHECK: .globl _a
9; CHECK: _a:
Eric Christopherdbf4b2d2010-06-03 04:02:59 +000010; CHECK: .quad __tlv_bootstrap
Eric Christopher0f986f62010-05-22 00:10:22 +000011; CHECK: .quad 0
12; CHECK: .quad _a$tlv$init
13
14; CHECK: .tbss _b$tlv$init, 4, 2
15; CHECK: .globl _b
16; CHECK: _b:
Eric Christopherdbf4b2d2010-06-03 04:02:59 +000017; CHECK: .quad __tlv_bootstrap
Eric Christopher0f986f62010-05-22 00:10:22 +000018; CHECK: .quad 0
19; CHECK: .quad _b$tlv$init