mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Update win32_callstack.cpp
Module offset was mistakenly being erased together with .pdb extension
This commit is contained in:
committed by
Baldur Karlsson
parent
966db7bdb0
commit
33a1c9b2c6
@@ -1044,8 +1044,6 @@ Callstack::AddressDetails Win32CallstackResolver::GetAddr(DWORD64 addr)
|
||||
// the module it came from, and an offset
|
||||
info.funcName = get_basename(info.fileName);
|
||||
|
||||
info.funcName = StringFormat::Fmt("%s+0x%08llx", info.funcName.c_str(), addr - base);
|
||||
|
||||
int offs = info.funcName.find(".pdb");
|
||||
|
||||
if(offs >= 0)
|
||||
@@ -1057,6 +1055,8 @@ Callstack::AddressDetails Win32CallstackResolver::GetAddr(DWORD64 addr)
|
||||
else
|
||||
info.funcName += "dll";
|
||||
}
|
||||
|
||||
info.funcName = StringFormat::Fmt("%s+0x%08llx", info.funcName.c_str(), addr - base);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user