blob: 408e5bb0c60c5deec9df9961b48cc3f99c54d888 [file] [log] [blame]
Eric Christopher0f986f62010-05-22 00:10:22 +00001; RUN: llc < %s -march=x86-64 | FileCheck %s
2
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