Index: clang-3.4/lib/Basic/Targets.cpp =================================================================== --- clang-3.4/lib/Basic/Targets.cpp +++ clang-3.4/lib/Basic/Targets.cpp @@ -3061,7 +3061,7 @@ public: WindowsX86_32TargetInfo(const llvm::Triple &Triple) : WindowsTargetInfo(Triple) { - TLSSupported = false; + TLSSupported = true; WCharType = UnsignedShort; DoubleAlign = LongLongAlign = 64; DescriptionString = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-" @@ -3286,7 +3286,7 @@ public: WindowsX86_64TargetInfo(const llvm::Triple &Triple) : WindowsTargetInfo(Triple) { - TLSSupported = false; + TLSSupported = true; WCharType = UnsignedShort; LongWidth = LongAlign = 32; DoubleAlign = LongLongAlign = 64;