You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
338 B
10 lines
338 B
; RUN: llvm-link %s %p/Inputs/alias-threadlocal-defs.ll -S -o - | FileCheck %s
|
|
|
|
; PR46297
|
|
; Verify that linking GlobalAliases preserves the thread_local attribute
|
|
|
|
; CHECK: @tlsvar1 = thread_local global i32 0, align 4
|
|
; CHECK: @tlsvar2 = hidden thread_local alias i32, i32* @tlsvar1
|
|
|
|
@tlsvar2 = external thread_local global i32, align 4
|