diff options
author | Chris Sienkiewicz <chsienki@microsoft.com> | 2018-05-23 15:37:04 -0700 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2018-09-18 15:49:14 +0300 |
commit | af900115108198d4e60ef26df42761180311f877 (patch) | |
tree | fdfa110781fe781d42d00d6898e3fc9df64b0f8a | |
parent | 750c7f1460ee9a5377c9faaa0392c88937ff5aa2 (diff) | |
download | coreclr-af900115108198d4e60ef26df42761180311f877.tar.gz coreclr-af900115108198d4e60ef26df42761180311f877.tar.bz2 coreclr-af900115108198d4e60ef26df42761180311f877.zip |
Ensure thumb bit is set when intializing a code region.
-rw-r--r-- | src/debug/ee/functioninfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/ee/functioninfo.cpp b/src/debug/ee/functioninfo.cpp index d4521110ba..637924c4cd 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(); |