diff options
author | Steve MacLean <sdmaclea.qdt@qualcommdatacenter.com> | 2018-04-14 08:52:27 -0400 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-04-14 05:52:27 -0700 |
commit | 7253416dd6790ade4d90e65c3aec1d4cab4f1970 (patch) | |
tree | b807de0bb47235b16116ee5021ea854edc45ca5c /src | |
parent | db18c71ada41cb978fa61a1b7fcd18e2aa9b217c (diff) | |
download | coreclr-7253416dd6790ade4d90e65c3aec1d4cab4f1970.tar.gz coreclr-7253416dd6790ade4d90e65c3aec1d4cab4f1970.tar.bz2 coreclr-7253416dd6790ade4d90e65c3aec1d4cab4f1970.zip |
[Arm64/Linux] #17521 for linux (#17546)
Diffstat (limited to 'src')
-rw-r--r-- | src/vm/arm64/pinvokestubs.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vm/arm64/pinvokestubs.S b/src/vm/arm64/pinvokestubs.S index c87e8004f0..00d64b4ed2 100644 --- a/src/vm/arm64/pinvokestubs.S +++ b/src/vm/arm64/pinvokestubs.S @@ -60,8 +60,14 @@ LOCAL_LABEL(\__PInvokeStubFuncName\()_0): // save hidden arg mov x19, \HiddenArg + // save VASigCookieReg + mov x20, \VASigCookieReg + bl \__PInvokeStubWorkerName + // restore VASigCookieReg + mov \VASigCookieReg, x20 + // restore hidden arg (method desc or unmanaged target) mov \HiddenArg , x19 |