From: Juan Sebastian Hoyos Ayala Date: Thu, 29 Nov 2018 23:06:21 +0000 (-0800) Subject: Properly DACize TLB access for thread local statics X-Git-Tag: accepted/tizen/unified/20190422.045933~498^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ac23132a00c7bf750c414852747b5be25a472b7;p=platform%2Fupstream%2Fcoreclr.git Properly DACize TLB access for thread local statics --- diff --git a/src/vm/threadstatics.h b/src/vm/threadstatics.h index f23d669..e2c9339 100644 --- a/src/vm/threadstatics.h +++ b/src/vm/threadstatics.h @@ -533,7 +533,7 @@ class ThreadStatics { SUPPORTS_DAC; - return dac_cast(&pThread->m_ThreadLocalBlock); + return dac_cast(PTR_TO_MEMBER_TADDR(Thread, pThread, m_ThreadLocalBlock)); } #ifndef DACCESS_COMPILE