git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369944 91177308-0d34-0410-b5e6-96231b3b80d8
@@ -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() {