summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-03-06 16:37:51 -0800
committerGitHub <noreply@github.com>2018-03-06 16:37:51 -0800
commit47bef69b68a35eafa069d08187727684a5f47901 (patch)
tree2fd0158bbc56718f43d0a9666c7223b7b2d94b9d /src/debug
parent964fa6861dab06933d3983671ce90c8bf96690f7 (diff)
downloadcoreclr-47bef69b68a35eafa069d08187727684a5f47901.tar.gz
coreclr-47bef69b68a35eafa069d08187727684a5f47901.tar.bz2
coreclr-47bef69b68a35eafa069d08187727684a5f47901.zip
Revert "Fix handling of incorrect assemblies on Unix (#16747)" (#16790)
This reverts commit 383736b96b643ba46ad290fc86601fc2d62a9436.
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/daccess/nidump.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/daccess/nidump.cpp b/src/debug/daccess/nidump.cpp
index e948687c0e..45320dca7f 100644
--- a/src/debug/daccess/nidump.cpp
+++ b/src/debug/daccess/nidump.cpp
@@ -720,7 +720,7 @@ NativeImageDumper::DumpNativeImage()
for (COUNT_T i = 0; i < m_decoder.GetNumberOfSections(); i++)
{
- PTR_IMAGE_SECTION_HEADER section = m_decoder.FindFirstSection() + i;
+ PTR_IMAGE_SECTION_HEADER section = dptr_add(m_decoder.FindFirstSection(), i);
m_display->Section(reinterpret_cast<char *>(section->Name),
section->VirtualAddress,
section->SizeOfRawData);