projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6acc105
)
Do NOT overwrite the stack frame pointer (#4857)
author
Jonghyun Park
<parjong@gmail.com>
Mon, 9 May 2016 09:46:10 +0000
(18:46 +0900)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Mon, 9 May 2016 09:46:10 +0000
(11:46 +0200)
CallEHFunclet currently overwrite the stack frame pointer (R7) while
recovering the registers.
This commit revises CallEHFunclet not to overwrite R7 when recoverint
the registers.
src/vm/arm/ehhelpers.S
patch
|
blob
|
history
diff --git
a/src/vm/arm/ehhelpers.S
b/src/vm/arm/ehhelpers.S
index 75957fb284ec86ba0d8747d734d7e428972bd8d5..88afc43415011928ea199ed6705a7007cbab0e5a 100644
(file)
--- a/
src/vm/arm/ehhelpers.S
+++ b/
src/vm/arm/ehhelpers.S
@@
-114,7
+114,9
@@
OFFSET_OF_FRAME=(4 + SIZEOF__GSCookie)
// Save the SP of this function
str sp, [r3]
// apply the non-volatiles corresponding to the CrawlFrame
- ldm r2, {r4-r11}
+ ldm r2!, {r4-r6}
+ add r2, r2, #4
+ ldm r2!, {r8-r11}
// Invoke the funclet
blx r1