1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Symbol address decoding (win32 implementation).

This commit is contained in:
Bartosz Taudul
2020-02-26 22:32:42 +01:00
parent 03ff08a934
commit ef05570540
2 changed files with 39 additions and 1 deletions
+6 -1
View File
@@ -22,11 +22,15 @@
namespace tracy
{
struct CallstackEntry
struct SymbolData
{
const char* name;
const char* file;
uint32_t line;
};
struct CallstackEntry : public SymbolData
{
uint64_t symAddr;
};
@@ -37,6 +41,7 @@ struct CallstackEntryData
const char* imageName;
};
SymbolData DecodeSymbolAddress( uint64_t ptr );
const char* DecodeCallstackPtrFast( uint64_t ptr );
CallstackEntryData DecodeCallstackPtr( uint64_t ptr );
void InitCallstack();