projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84e0d07
)
[x86/Linux] Do NOT use Shadow SP (dotnet/coreclr#8913)
author
Jonghyun Park
<parjong@gmail.com>
Wed, 18 Jan 2017 23:35:46 +0000
(08:35 +0900)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Wed, 18 Jan 2017 23:35:46 +0000
(
00:35
+0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/
e312e9ab50322b522060fa121d9ed0ddd3a8f4d9
src/coreclr/src/vm/eetwain.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/eetwain.cpp
b/src/coreclr/src/vm/eetwain.cpp
index
81a5a0a
..
538d6a2
100644
(file)
--- a/
src/coreclr/src/vm/eetwain.cpp
+++ b/
src/coreclr/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)
{