From 6ac23132a00c7bf750c414852747b5be25a472b7 Mon Sep 17 00:00:00 2001 From: Juan Sebastian Hoyos Ayala Date: Thu, 29 Nov 2018 15:06:21 -0800 Subject: [PATCH] Properly DACize TLB access for thread local statics --- src/vm/threadstatics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4