[SOS] Fix address types inconsistency (dotnet/coreclr#14188)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Thu, 5 Oct 2017 10:07:31 +0000 (13:07 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 5 Oct 2017 10:07:31 +0000 (12:07 +0200)
commitcfe26a1ef9b6144bbc94089e70baf11d5fa61ad3
tree70f1cfa0698f24985bab1305120c4334c0fef752
parent7e2a8e0f490a539f77437d1ca3e14b613837132c
[SOS] Fix address types inconsistency (dotnet/coreclr#14188)

GetObjFieldOffset function expects that cdaObj and cdaMT arguments
have CLRDATA_ADDRESS type (sign-extended) but in some cases we
use TADDR instead of CLRDATA_ADDRESS that isn't sign-extended.

Due to it some SOS commands (for example DumpRuntimeTypes) don't
work on x86 and ARM32.

Commit migrated from https://github.com/dotnet/coreclr/commit/076a61ef2eb3baf69182139f36b948f104e3b740
src/coreclr/src/ToolBox/SOS/Strike/strike.cpp