summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Sienkiewicz <chsienki@microsoft.com>2018-05-23 22:37:04 (GMT)
committerGleb Balykov <g.balykov@samsung.com>2018-09-18 12:49:14 (GMT)
commitaf900115108198d4e60ef26df42761180311f877 (patch)
treefdfa110781fe781d42d00d6898e3fc9df64b0f8a /src
parent750c7f1460ee9a5377c9faaa0392c88937ff5aa2 (diff)
downloadcoreclr-af900115108198d4e60ef26df42761180311f877.zip
coreclr-af900115108198d4e60ef26df42761180311f877.tar.gz
coreclr-af900115108198d4e60ef26df42761180311f877.tar.bz2
Ensure thumb bit is set when intializing a code region.
Diffstat (limited to 'src')
-rw-r--r--src/debug/ee/functioninfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/ee/functioninfo.cpp b/src/debug/ee/functioninfo.cpp
index d452111..637924c 100644
--- a/src/debug/ee/functioninfo.cpp
+++ b/src/debug/ee/functioninfo.cpp
@@ -1228,7 +1228,7 @@ void DebuggerJitInfo::Init(TADDR newAddress)
this->m_addrOfCode = (ULONG_PTR)PTR_TO_CORDB_ADDRESS((BYTE*) newAddress);
this->m_jitComplete = true;
- this->m_codeRegionInfo.InitializeFromStartAddress((PCODE)this->m_addrOfCode);
+ this->m_codeRegionInfo.InitializeFromStartAddress(PINSTRToPCODE((TADDR)this->m_addrOfCode));
this->m_sizeOfCode = this->m_codeRegionInfo.getSizeOfTotalCode();
this->m_encVersion = this->m_methodInfo->GetCurrentEnCVersion();