Core: Start using llvm/Support/thread.h to work around MSVC <thread> issues.

llvm-svn: 246219
This commit is contained in:
Peter Collingbourne 2015-08-27 21:52:36 +00:00
parent b0fed48b78
commit 402fbecc1a
1 changed files with 1 additions and 7 deletions

View File

@ -14,18 +14,12 @@
#include "lld/Core/LLVM.h" #include "lld/Core/LLVM.h"
#include "lld/Core/range.h" #include "lld/Core/range.h"
#include "llvm/Support/MathExtras.h" #include "llvm/Support/MathExtras.h"
#include "llvm/Support/thread.h"
#ifdef _MSC_VER
// concrt.h depends on eh.h for __uncaught_exception declaration
// even if we disable exceptions.
#include <eh.h>
#endif
#include <algorithm> #include <algorithm>
#include <atomic> #include <atomic>
#include <condition_variable> #include <condition_variable>
#include <mutex> #include <mutex>
#include <thread>
#include <stack> #include <stack>
#ifdef _MSC_VER #ifdef _MSC_VER