1 ; RUN: llc < %s -mtriple x86_64-apple-darwin | FileCheck %s
2 ; PR17964
3
4 ; CHECK: __DATA,__thread_data,thread_local_regular
5 ; CHECK: _foo$tlv$init
6 @foo = weak_odr thread_local global i8 1, align 4
7
8 define i32 @main() {
9 ret i32 0
10 }
11