summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorgbalykov <g.balykov@samsung.com>2018-02-22 20:47:46 +0300
committerJan Kotas <jkotas@microsoft.com>2018-02-22 09:47:46 -0800
commit34247df6ccb1bcc54363807f047e67c8d43c03cb (patch)
treef74c65cf73c5e677046cc17e6c9ea6d9f839421c /src/debug
parent9e7ec667bd2871970b127fda856b0c6cf3eb2060 (diff)
downloadcoreclr-34247df6ccb1bcc54363807f047e67c8d43c03cb.tar.gz
coreclr-34247df6ccb1bcc54363807f047e67c8d43c03cb.tar.bz2
coreclr-34247df6ccb1bcc54363807f047e67c8d43c03cb.zip
Remove relocations for MethodTable::m_pParentMethodTable for Linux ARM (#15915)
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/daccess/nidump.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/daccess/nidump.cpp b/src/debug/daccess/nidump.cpp
index 274b1e7ddf..45320dca7f 100644
--- a/src/debug/daccess/nidump.cpp
+++ b/src/debug/daccess/nidump.cpp
@@ -5987,7 +5987,7 @@ PTR_MethodTable NativeImageDumper::GetParent( PTR_MethodTable mt )
/* REVISIT_TODO Thu 12/01/2005
* Handle fixups
*/
- PTR_MethodTable parent( mt->m_pParentMethodTable );
+ PTR_MethodTable parent( ReadPointerMaybeNull((MethodTable*) mt, &MethodTable::m_pParentMethodTable, mt->GetFlagHasIndirectParent()) );
_ASSERTE(!CORCOMPILE_IS_POINTER_TAGGED(PTR_TO_TADDR(parent)));
return parent;
}
@@ -6961,7 +6961,7 @@ NativeImageDumper::DumpMethodTable( PTR_MethodTable mt, const char * name,
- PTR_MethodTable parent = mt->m_pParentMethodTable;
+ PTR_MethodTable parent = ReadPointerMaybeNull((MethodTable*) mt, &MethodTable::m_pParentMethodTable, mt->GetFlagHasIndirectParent());
if( parent == NULL )
{
DisplayWriteFieldPointer( m_pParentMethodTable, NULL, MethodTable,