Core: Start using llvm/Support/thread.h to work around MSVC <thread> issues.
llvm-svn: 246219
This commit is contained in:
parent
b0fed48b78
commit
402fbecc1a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue