blob: 5f6cbe09fcf75f02fd5305a6d7bd97294f85a4d9 [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:
10; CHECK: .quad ___tlv_bootstrap
11; 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:
17; CHECK: .quad ___tlv_bootstrap
18; CHECK: .quad 0
19; CHECK: .quad _b$tlv$init