aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/global-sections-tls.ll
blob: 2c2303042bc459f69370c90d7c18befb08aece59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llc < %s -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX

; PR4639
@G1 = internal thread_local global i32 0		; <i32*> [#uses=1]
; LINUX: .section		.tbss,"awT",@nobits
; LINUX: G1:


define i32* @foo() nounwind readnone {
entry:
	ret i32* @G1
}