summaryrefslogtreecommitdiff
path: root/src/vm/virtualcallstub.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-09-29 07:53:15 (GMT)
committerJan Kotas <jkotas@microsoft.com>2016-09-29 07:53:15 (GMT)
commit74967f89e0f43e156cf23cd88840e1f0fc94f997 (patch)
tree3395157754f2b6cb1826b57308d4507646899200 /src/vm/virtualcallstub.cpp
parent8493c03a5f9e4d2aaf4e56e5c228642e221993bd (diff)
downloadcoreclr-74967f89e0f43e156cf23cd88840e1f0fc94f997.zip
coreclr-74967f89e0f43e156cf23cd88840e1f0fc94f997.tar.gz
coreclr-74967f89e0f43e156cf23cd88840e1f0fc94f997.tar.bz2
Set THUMB bit for RUNTIME_FIXUP_HELPER functions (#7373)
* Appends THUMB bit for RUNTIME_FIXUP_HELPER address * Revise GetEEFuncEntryPoint (for ARM) and use it to set thumb bit * Uses GetEEFuncEntryPoint instead of GFN_TADDR
Diffstat (limited to 'src/vm/virtualcallstub.cpp')
-rw-r--r--src/vm/virtualcallstub.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/virtualcallstub.cpp b/src/vm/virtualcallstub.cpp
index 512b4f2..5fc66f6 100644
--- a/src/vm/virtualcallstub.cpp
+++ b/src/vm/virtualcallstub.cpp
@@ -1107,7 +1107,7 @@ BOOL VirtualCallStubManager::TraceManager(Thread *thread,
#ifdef FEATURE_PREJIT
// This is the case for the lazy slot fixup
- if (GetIP(pContext) == GFN_TADDR(StubDispatchFixupPatchLabel)) {
+ if (GetIP(pContext) == GetEEFuncEntryPoint(StubDispatchFixupPatchLabel)) {
*pRetAddr = (BYTE *)StubManagerHelpers::GetReturnAddress(pContext);