Eric Christopher | 09fae6d | 2010-05-22 00:55:55 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s |
Eric Christopher | 0f986f6 | 2010-05-22 00:10:22 +0000 | [diff] [blame] | 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: |
Eric Christopher | dbf4b2d | 2010-06-03 04:02:59 +0000 | [diff] [blame] | 10 | ; CHECK: .quad __tlv_bootstrap |
Eric Christopher | 0f986f6 | 2010-05-22 00:10:22 +0000 | [diff] [blame] | 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: |
Eric Christopher | dbf4b2d | 2010-06-03 04:02:59 +0000 | [diff] [blame] | 17 | ; CHECK: .quad __tlv_bootstrap |
Eric Christopher | 0f986f6 | 2010-05-22 00:10:22 +0000 | [diff] [blame] | 18 | ; CHECK: .quad 0 |
| 19 | ; CHECK: .quad _b$tlv$init |