[PATCH] TLS for MinGW
Yaron Keren
yaron.keren at gmail.com
Fri Apr 18 03:19:26 PDT 2014
Hi martell, rnk, chandlerc, Kai,
Patch by Martell Malone (posted cfe-commits)
http://reviews.llvm.org/D3421
Files:
clang-3.4/lib/Basic/Targets.cpp
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<X86_32TargetInfo>(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<X86_64TargetInfo>(Triple) {
- TLSSupported = false;
+ TLSSupported = true;
WCharType = UnsignedShort;
LongWidth = LongAlign = 32;
DoubleAlign = LongLongAlign = 64;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3421.1.patch
Type: text/x-patch
Size: 817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140418/345564c5/attachment.bin>
More information about the cfe-commits
mailing list