forked from OSchip/llvm-project
[msvc] Add necessary #include to make compiler intrinsics available.
llvm-svn: 369944
This commit is contained in:
parent
9ef6c49baf
commit
4d3a336612
|
@ -15,6 +15,10 @@
|
|||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/Support/CrashRecoveryContext.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <intrin.h> // for _AddressOfReturnAddress
|
||||
#endif
|
||||
|
||||
static LLVM_THREAD_LOCAL void *BottomOfStack = nullptr;
|
||||
|
||||
static void *getStackPointer() {
|
||||
|
|
Loading…
Reference in New Issue