[lld] r246416 - Attempt to unbreak buildbots.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 23:19:01 PDT 2015


Author: ruiu
Date: Mon Aug 31 01:19:01 2015
New Revision: 246416

URL: http://llvm.org/viewvc/llvm-project?rev=246416&view=rev
Log:
Attempt to unbreak buildbots.

It is currently failing with "'__uncaught_exception': identifier not found"
error. I guess it is due to r246219 because after that change, eh.h is
included only when threading is enabled.

Modified:
    lld/trunk/include/lld/Core/Parallel.h

Modified: lld/trunk/include/lld/Core/Parallel.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/Parallel.h?rev=246416&r1=246415&r2=246416&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/Parallel.h (original)
+++ lld/trunk/include/lld/Core/Parallel.h Mon Aug 31 01:19:01 2015
@@ -22,7 +22,7 @@
 #include <mutex>
 #include <stack>
 
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && LLVM_ENABLE_THREADS
 #include <concrt.h>
 #include <ppl.h>
 #endif




More information about the llvm-commits mailing list