• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-link %s %p/Inputs/alias-threadlocal-defs.ll -S -o - | FileCheck %s
2
3; PR46297
4; Verify that linking GlobalAliases preserves the thread_local attribute
5
6; CHECK: @tlsvar1 = thread_local global i32 0, align 4
7; CHECK: @tlsvar2 = hidden thread_local alias i32, i32* @tlsvar1
8
9@tlsvar2 = external thread_local global i32, align 4
10