1 ; We manually create these here if we're not linking against
2 ; the CRT which would usually provide these.
4 target triple = "x86_64-pc-windows-msvc"
6 %IMAGE_TLS_DIRECTORY64 = type {
7 i64, ; StartAddressOfRawData
8 i64, ; EndAddressOfRawData
10 i64, ; AddressOfCallBacks
15 @_tls_start = global i8 zeroinitializer, section ".tls"
16 @_tls_end = global i8 zeroinitializer, section ".tls$ZZZ"
17 @_tls_index = global i64 0
19 @_tls_used = global %IMAGE_TLS_DIRECTORY64 {
20 i64 ptrtoint (ptr @_tls_start to i64),
21 i64 ptrtoint (ptr @_tls_end to i64),
22 i64 ptrtoint (ptr @_tls_index to i64),