build/build-clang/no-COFF-dso_local.patch
author David Major <dmajor@mozilla.com>
Sun, 11 Mar 2018 10:48:19 -0400
changeset 1450643 fd6e58d13893
permissions -rw-r--r--
clang-cl + O2 + ThinLTO3 + order try: -b o -p win32,win64 -u none -t all --rebuild-talos 10

Disable r325940 due to bug https://bugs.llvm.org/show_bug.cgi?id=36686.

Index: lib/CodeGen/CodeGenModule.cpp
===================================================================
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ a/clang/lib/CodeGen/CodeGenModule.cpp
@@ -727,7 +727,7 @@
   // without GOT tables in older clang versions; Keep this behaviour.
   // FIXME: even thread local variables?
   if (TT.isOSBinFormatCOFF() || (TT.isOSWindows() && TT.isOSBinFormatMachO()))
-    return true;
+    return false;

   // Only handle COFF and ELF for now.
   if (!TT.isOSBinFormatELF())