[SOS] Use addresses without sign extension in lldb plugin (dotnet/coreclr#14009)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Tue, 3 Oct 2017 18:28:06 +0000 (21:28 +0300)
committerMike McLaughlin <mikem@microsoft.com>
Tue, 3 Oct 2017 18:28:06 +0000 (11:28 -0700)
commitd90ad00f87870984f9d3c66e60e90a335ad57287
tree5d7863fe41a50524d07030176029565d9bc7d384
parent90e1ce7e26bbab0cc87cd20ef865e76a0a4726e6
[SOS] Use addresses without sign extension in lldb plugin (dotnet/coreclr#14009)

lldb doesn't expect sign-extended addresses so we need to convert
them before using with lldb API.

This patch allows to use SOS plugin for core files in lldb on 32-bit
platforms and also fixes output of the 'clrstack -f' command.

Commit migrated from https://github.com/dotnet/coreclr/commit/4ad0b6a18fe24864ff11760e9b313a0d6dbe9d3b
src/coreclr/src/ToolBox/SOS/lldbplugin/services.cpp