mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Expose GetModuleName() outside TracyCallstack.cpp.
This commit is contained in:
parent
2bd1e5bca7
commit
1ed174c1b6
@ -235,7 +235,7 @@ const char* DecodeCallstackPtrFast( uint64_t ptr )
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char* GetModuleName( uint64_t addr )
|
const char* GetModuleName( uint64_t addr )
|
||||||
{
|
{
|
||||||
if( ( addr >> 63 ) != 0 )
|
if( ( addr >> 63 ) != 0 )
|
||||||
{
|
{
|
||||||
|
@ -51,6 +51,7 @@ CallstackSymbolData DecodeCodeAddress( uint64_t ptr );
|
|||||||
const char* DecodeCallstackPtrFast( uint64_t ptr );
|
const char* DecodeCallstackPtrFast( uint64_t ptr );
|
||||||
CallstackEntryData DecodeCallstackPtr( uint64_t ptr );
|
CallstackEntryData DecodeCallstackPtr( uint64_t ptr );
|
||||||
void InitCallstack();
|
void InitCallstack();
|
||||||
|
const char* GetModuleName( uint64_t addr );
|
||||||
|
|
||||||
#if TRACY_HAS_CALLSTACK == 1
|
#if TRACY_HAS_CALLSTACK == 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user