Fix DelayLoad_MethodCall unwinding (#17275)
authorJan Vorlicek <janvorli@microsoft.com>
Wed, 28 Mar 2018 00:41:47 +0000 (02:41 +0200)
committerGitHub <noreply@github.com>
Wed, 28 Mar 2018 00:41:47 +0000 (02:41 +0200)
commit04828cfa37ac56d0244411becec9e32d21b4bd68
tree83be6da7199b8b02c25f647e7792e474c053237e
parent1cb37045f0b9039f41b56e69e406540063c4b2bf
Fix DelayLoad_MethodCall unwinding (#17275)

* Fix DelayLoad_MethodCall unwinding

Unwinding through DelayLoad_MethodCall was broken due to the overwriting
of R7 which is used as a frame pointer. That caused some managed
exceptions to cause abort with unhandled PAL_SEHException.

This change fixes the problem by using a different register.

* Fix one more spot with the same issue
src/vm/arm/asmhelpers.S