Skip to content

Commit eb32ee2

Browse files
authored
Fix issue with !sos maddress (#3868)
Previous refactoring accidently eliminated the case where the CLR region perfectly overlapped the memory region.
1 parent f8d156b commit eb32ee2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Microsoft.Diagnostics.ExtensionCommands/NativeAddressHelper.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,11 @@ private DescribedRegion[] EnumerateAddressSpaceWorker(bool tagClrMemoryRanges, b
262262
region.ClrMemoryKind = mem.Kind;
263263
}
264264
}
265+
else
266+
{
267+
SetRegionKindWithWarning(mem, region);
268+
}
265269
}
266-
267270
}
268271
}
269272
}

0 commit comments

Comments
 (0)