diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-02-03 16:15:56 +0900 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-02-02 23:15:56 -0800 |
commit | 53e62b4e3ca7792b1c4966823832de56f88db0b6 (patch) | |
tree | 5ade4d3a595b37f382fc48e1461d43ae607aec9d /src/vm/eetwain.cpp | |
parent | 29ce2010b38e73ea8effa412f9cc6bc7afa882e8 (diff) | |
download | coreclr-53e62b4e3ca7792b1c4966823832de56f88db0b6.tar.gz coreclr-53e62b4e3ca7792b1c4966823832de56f88db0b6.tar.bz2 coreclr-53e62b4e3ca7792b1c4966823832de56f88db0b6.zip |
[x86/Linux] Do NOT use QuickUnwindStackFrame (#9299)
* [x86/Linux] Do NOT use QuickUnwindStackFrame
* Fix x64 build error
Diffstat (limited to 'src/vm/eetwain.cpp')
-rw-r--r-- | src/vm/eetwain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vm/eetwain.cpp b/src/vm/eetwain.cpp index eea54a8d3d..132e54d479 100644 --- a/src/vm/eetwain.cpp +++ b/src/vm/eetwain.cpp @@ -3063,7 +3063,7 @@ void EECodeManager::EnsureCallerContextIsValid( PREGDISPLAY pRD, StackwalkCache if( !pRD->IsCallerContextValid ) { -#if !defined(DACCESS_COMPILE) +#if !defined(DACCESS_COMPILE) && defined(HAS_QUICKUNWIND) if (pCacheEntry != NULL) { // lightened schema: take stack unwind info from stackwalk cache @@ -3104,6 +3104,7 @@ size_t EECodeManager::GetCallerSp( PREGDISPLAY pRD ) #endif // WIN64EXCEPTIONS && !CROSSGEN_COMPILE +#ifdef HAS_QUICKUNWIND /* * Light unwind the current stack frame, using provided cache entry. * pPC, Esp and pEbp of pContext are updated. @@ -3194,6 +3195,7 @@ void EECodeManager::QuickUnwindStackFrame(PREGDISPLAY pRD, StackwalkCacheEntry * PORTABILITY_ASSERT("EECodeManager::QuickUnwindStackFrame is not implemented on this platform."); #endif // !_TARGET_X86_ && !_TARGET_AMD64_ } +#endif // HAS_QUICKUNWIND /*****************************************************************************/ #ifdef _TARGET_X86_ // UnwindStackFrame |