[cfe-commits] r69552 - in /cfe/trunk: include/clang/Basic/TargetInfo.h lib/Basic/TargetInfo.cpp lib/Basic/Targets.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sun Apr 19 14:55:12 PDT 2009


Eli Friedman wrote:
> Author: efriedma
> Date: Sun Apr 19 16:38:35 2009
> New Revision: 69552
>
> URL: http://llvm.org/viewvc/llvm-project?rev=69552&view=rev
> Log:
> Add target property for whether thread-local storage is supported.  
> Let me know if I messed up for some target.  Note that for Windows, we 
> should be able to support it (MSVC supports "__declspec(thread)"), but 
> I'm pretty sure LLVM doesn't know how to generate the correct code.
>   
__declspec(thread) is complicated. The big issue is that DLLs that use
any compiler-supported TLS cannot be dynamically loaded.

Sebastian



More information about the cfe-commits mailing list