mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Fix PR4639, a ELF-TLS regression from some of my refactoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
; RUN: llvm-as < %s | llc -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user