From 033b11d631f346a55c4d7c453bca1f49f77a44d5 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Fri, 13 Jan 2017 00:43:54 +0900 Subject: [x86/Linux] Port 'ExceptionTracker::ProcessOSExceptionNotification' (#8912) --- src/vm/exceptionhandling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vm/exceptionhandling.cpp') 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, ®disp, 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 -- cgit v1.2.3