[PATCH] D43971: [AArch64] Implement native TLS for Windows

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 9 20:21:33 PST 2018


mstorsjo added a comment.

In https://reviews.llvm.org/D43971#1033473, @rengolin wrote:

> Right, this makes a lot more sense! :)
>
> I'm assuming only 32-bit values are supported? If not, would it be too hard to add different sizes now?


No, it supports any size. This just calculates the address if the tls variable (the fiddling with a 32 bit load was only for the `_tls_index` variable, not the tls variable itself.


https://reviews.llvm.org/D43971





More information about the llvm-commits mailing list