[0.1.x] ~ print DIA symbol unique ID

git-svn-id: https://pykd.svn.codeplex.com/svn@75727 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\EreTIk_cp 2012-04-23 08:23:12 +00:00 committed by Mikhail I. Izmestev
parent 7dbe7fb9d4
commit 2c56b463be

View File

@ -95,6 +95,10 @@ std::string Symbol::printImpl(
ULONGLONG ullValue; ULONGLONG ullValue;
HRESULT hres; HRESULT hres;
hres = _symbol->get_symIndexId(&dwValue);
if (hres == S_OK)
sstream << "ID " << std::hex << dwValue << " ";
DWORD locType = LocIsNull; DWORD locType = LocIsNull;
hres = _symbol->get_locationType(&locType); hres = _symbol->get_locationType(&locType);
bool bLocation = (S_OK == hres); bool bLocation = (S_OK == hres);