[PATCH] D32681: [builtins] Enabled emulated TLS on WOA.

Martell Malone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 6 08:26:29 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL302340: [builtins] Fixup emulated TLS for mingw. (authored by martell).

Changed prior to commit:
  https://reviews.llvm.org/D32681?vs=97230&id=98066#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32681

Files:
  compiler-rt/trunk/lib/builtins/CMakeLists.txt
  compiler-rt/trunk/lib/builtins/emutls.c


Index: compiler-rt/trunk/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt
@@ -410,7 +410,8 @@
       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
Index: compiler-rt/trunk/lib/builtins/emutls.c
===================================================================
--- compiler-rt/trunk/lib/builtins/emutls.c
+++ compiler-rt/trunk/lib/builtins/emutls.c
@@ -98,7 +98,7 @@
 
 #else
 
-#include <Windows.h>
+#include <windows.h>
 #include <malloc.h>
 #include <stdio.h>
 #include <assert.h>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32681.98066.patch
Type: text/x-patch
Size: 790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170506/4ee50e21/attachment.bin>


More information about the llvm-commits mailing list