diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-01-19 08:35:46 +0900 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2017-01-19 00:35:46 +0100 |
commit | e312e9ab50322b522060fa121d9ed0ddd3a8f4d9 (patch) | |
tree | a6b8bea309e131de95f04986a26e6c7607665a2a | |
parent | d5a60ee061e074ecee0f81d62843f3bfc4b0c022 (diff) | |
download | coreclr-e312e9ab50322b522060fa121d9ed0ddd3a8f4d9.tar.gz coreclr-e312e9ab50322b522060fa121d9ed0ddd3a8f4d9.tar.bz2 coreclr-e312e9ab50322b522060fa121d9ed0ddd3a8f4d9.zip |
[x86/Linux] Do NOT use Shadow SP (#8913)
-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 81a5a0a4b9..538d6a22a5 100644 --- a/src/vm/eetwain.cpp +++ b/src/vm/eetwain.cpp @@ -562,7 +562,8 @@ FrameType GetHandlerFrameInfo(hdrInfo * info, // The slots grow towards lower address on the stack and is terminted by a NULL entry. // Since each subsequent slot contains the SP of a more nested EH clause, the contents of the slots are // expected to be in decreasing order. - size_t lvl; + size_t lvl = 0; +#ifndef WIN64EXCEPTIONS PTR_TADDR pSlot; for(lvl = 0, pSlot = pFirstBaseSPslot; *pSlot && lvl < unwindLevel; @@ -625,6 +626,7 @@ FrameType GetHandlerFrameInfo(hdrInfo * info, baseSP = curSlotVal; } } +#endif // WIN64EXCEPTIONS if (unwindESP != (TADDR) IGNORE_VAL) { |