mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
Update IMAGEHLP_LINE to IMAGEHLP_LINE64
OfflineSymbolResolverDbgHelper.cpp uses IMAGEHLP_LINE but SymGetLineFromAddr64 expects IMAGEHLP_LINE64. On 64-bit Windows these are typedef'd to the same thing, but on 32-bit they're different.
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
newEntry.name = "[unknown] + " + std::to_string(offset);
|
||||
}
|
||||
|
||||
IMAGEHLP_LINE lineInfo = { 0 };
|
||||
IMAGEHLP_LINE64 lineInfo = { 0 };
|
||||
lineInfo.SizeOfStruct = sizeof(IMAGEHLP_LINE64);
|
||||
DWORD displaceMent = 0;
|
||||
if ( SymGetLineFromAddr64( m_procHandle, address, &displaceMent, &lineInfo ) )
|
||||
|
||||
Reference in New Issue
Block a user