From: Jonghyun Park Date: Thu, 12 Jan 2017 15:43:54 +0000 (+0900) Subject: [x86/Linux] Port 'ExceptionTracker::ProcessOSExceptionNotification' (dotnet/coreclr... X-Git-Tag: submit/tizen/20210909.063632~11030^2~8458 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db7367b07430f9a7e0785e5ee9a3cfea59d42b2e;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [x86/Linux] Port 'ExceptionTracker::ProcessOSExceptionNotification' (dotnet/coreclr#8912) Commit migrated from https://github.com/dotnet/coreclr/commit/033b11d631f346a55c4d7c453bca1f49f77a44d5 --- diff --git a/src/coreclr/src/vm/exceptionhandling.cpp b/src/coreclr/src/vm/exceptionhandling.cpp index 475bf3b..f8a3171 100644 --- a/src/coreclr/src/vm/exceptionhandling.cpp +++ b/src/coreclr/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