summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Sebastian Hoyos Ayala <juan.hoyos@microsoft.com>2018-11-29 15:06:21 -0800
committerJuan Sebastian Hoyos Ayala <juan.hoyos@microsoft.com>2018-11-29 15:06:21 -0800
commit6ac23132a00c7bf750c414852747b5be25a472b7 (patch)
tree284d076b3b3fd8bc1033777bced3e6916e15ae4a
parentb858fb810e76b5eaa5b5f7ccba3376463318550f (diff)
downloadcoreclr-6ac23132a00c7bf750c414852747b5be25a472b7.tar.gz
coreclr-6ac23132a00c7bf750c414852747b5be25a472b7.tar.bz2
coreclr-6ac23132a00c7bf750c414852747b5be25a472b7.zip
Properly DACize TLB access for thread local statics
-rw-r--r--src/vm/threadstatics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/threadstatics.h b/src/vm/threadstatics.h
index f23d669a81..e2c9339b2e 100644
--- a/src/vm/threadstatics.h
+++ b/src/vm/threadstatics.h
@@ -533,7 +533,7 @@ class ThreadStatics
{
SUPPORTS_DAC;
- return dac_cast<PTR_ThreadLocalBlock>(&pThread->m_ThreadLocalBlock);
+ return dac_cast<PTR_ThreadLocalBlock>(PTR_TO_MEMBER_TADDR(Thread, pThread, m_ThreadLocalBlock));
}
#ifndef DACCESS_COMPILE