summaryrefslogtreecommitdiff
path: root/src/vm/exceptionhandling.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-01-13 00:43:54 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-01-12 16:43:54 +0100
commit033b11d631f346a55c4d7c453bca1f49f77a44d5 (patch)
tree91b618d3456409ad7ac33cc369fe536f1c8077f0 /src/vm/exceptionhandling.cpp
parentd187267134f1de239914ef684fe43330b22682e6 (diff)
downloadcoreclr-033b11d631f346a55c4d7c453bca1f49f77a44d5.tar.gz
coreclr-033b11d631f346a55c4d7c453bca1f49f77a44d5.tar.bz2
coreclr-033b11d631f346a55c4d7c453bca1f49f77a44d5.zip
[x86/Linux] Port 'ExceptionTracker::ProcessOSExceptionNotification' (#8912)
Diffstat (limited to 'src/vm/exceptionhandling.cpp')
-rw-r--r--src/vm/exceptionhandling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp
index 475bf3be09..f8a3171d2a 100644
--- a/src/vm/exceptionhandling.cpp
+++ b/src/vm/exceptionhandling.cpp
@@ -1614,7 +1614,7 @@ CLRUnwindStatus ExceptionTracker::ProcessOSExceptionNotification(
ExceptionTracker::InitializeCrawlFrame(&cfThisFrame, pThread, sf, &regdisp, pDispatcherContext, ControlPc, &uMethodStartPC, this);
-#ifdef _TARGET_AMD64_
+#if defined(_TARGET_X86_) || defined(_TARGET_AMD64_)
uCallerSP = EECodeManager::GetCallerSp(cfThisFrame.pRD);
#elif defined(_TARGET_ARM_) || defined(_TARGET_ARM64_)
// On ARM & ARM64, the EstablisherFrame is the value of SP at the time a function was called and before it's prolog