[llvm-commits] [PATCH] TLS support for Windows 32+64bit

kai kai at redstar.de
Thu Feb 9 22:26:22 PST 2012


On 09.02.2012 22:44, Anton Korobeynikov wrote:
>> Please, could someone with knowledge of ISelLowering have a look at this
>> patch? Thank you!
> ISel part is fine for me.
>
> Kai, which linker you're using for LDC? Who provides the _tls_index
> variable? For me it seems that the patch should be for
> isTargetWindows()&&  isTargetMingw() at least, no?
>
Hi Anton!

I use the MS linker from Visual C++ / Windows SDK. The _tls_index 
variable is provided by the MSVCRT library (source file tlssup.c). I do 
not use MingW therefore I can't say if the MingW runtime also provides 
this variable.

Kai



More information about the llvm-commits mailing list