1; RUN: llc -mtriple arm-linux-gnueabi -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix NOEMU 2; RUN: llc -mtriple arm-linux-gnueabi -emulated-tls -filetype asm -o - %s | FileCheck %s -check-prefix CHECK -check-prefix EMU 3 4%struct.anon = type { i32, i32 } 5@teste = internal thread_local global %struct.anon zeroinitializer 6 7define i32 @main() { 8entry: 9 %tmp2 = load i32, i32* getelementptr (%struct.anon, %struct.anon* @teste, i32 0, i32 0), align 8 10 ret i32 %tmp2 11} 12 13; CHECK-LABEL: main: 14; NOEMU-NOT: __emutls_get_address 15 16; NOEMU: .section .tbss 17; NOEMU-LABEL: teste: 18; NOEMU-NEXT: .zero 8 19 20; CHECK-NOT: __emutls_t.teste 21 22; EMU: .p2align 2 23; EMU-LABEL: __emutls_v.teste: 24; EMU-NEXT: .long 8 25; EMU-NEXT: .long 4 26; EMU-NEXT: .long 0 27; EMU-NEXT: .long 0 28 29; CHECK-NOT: teste: 30; CHECK-NOT: __emutls_t.teste 31 32