22 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -triple=x86_64-windows-gnu -filetype=obj -o %t.obj %s3# RUN: lld-link %t.obj /out:%t.exe /entry:main /subsystem:console /opt:ref4# RUN: llvm-readobj --file-headers %t.exe | FileCheck %s5 6# CHECK: TLSTableRVA: 0x10007# CHECK: TLSTableSize: 0x288 9 .section .text@main,"xr",one_only,main10 .globl main11main:12 ret13 14 .section .tls$aaa15tlsvar:16 .long 117 18 .section .rdata$_tls_used,"dr",one_only,_tls_used19 .globl _tls_used20_tls_used:21 .zero 4022