[compiler-rt] r302340 - [builtins] Fixup emulated TLS for mingw.
Martell Malone via llvm-commits
llvm-commits at lists.llvm.org
Sat May 6 08:13:18 PDT 2017
Author: martell
Date: Sat May 6 10:13:17 2017
New Revision: 302340
URL: http://llvm.org/viewvc/llvm-project?rev=302340&view=rev
Log:
[builtins] Fixup emulated TLS for mingw.
Enabled emulated TLS on WOA for mingw
Fix <windows.h> include for mingw
Reviewed By: chapuni, mstorsjo
Subscribers: compnerd, llvm-commits
Differential Revision: https://reviews.llvm.org/D32681
Modified:
compiler-rt/trunk/lib/builtins/CMakeLists.txt
compiler-rt/trunk/lib/builtins/emutls.c
Modified: compiler-rt/trunk/lib/builtins/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/CMakeLists.txt?rev=302340&r1=302339&r2=302340&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt Sat May 6 10:13:17 2017
@@ -410,7 +410,8 @@ if(MINGW)
udivmoddi4.c
udivmodsi4.c
udivsi3.c
- umoddi3.c)
+ umoddi3.c
+ emutls.c)
elseif(NOT WIN32)
# TODO the EABI sources should only be added to EABI targets
set(arm_SOURCES
Modified: compiler-rt/trunk/lib/builtins/emutls.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/emutls.c?rev=302340&r1=302339&r2=302340&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/emutls.c (original)
+++ compiler-rt/trunk/lib/builtins/emutls.c Sat May 6 10:13:17 2017
@@ -98,7 +98,7 @@ static __inline emutls_address_array* em
#else
-#include <Windows.h>
+#include <windows.h>
#include <malloc.h>
#include <stdio.h>
#include <assert.h>
More information about the llvm-commits
mailing list