mirror of
https://github.com/wolfpld/tracy.git
synced 2026-08-19 09:39:43 +00:00
Send symbol address in code information message.
This commit is contained in:
@@ -3312,6 +3312,7 @@ void Profiler::SendCodeLocation( uint64_t ptr )
|
||||
MemWrite( &item.hdr.type, QueueType::CodeInformation );
|
||||
MemWrite( &item.codeInformation.ptr, ptr );
|
||||
MemWrite( &item.codeInformation.line, sym.line );
|
||||
MemWrite( &item.codeInformation.symAddr, sym.symAddr );
|
||||
|
||||
AppendData( &item, QueueDataSize[(int)QueueType::CodeInformation] );
|
||||
|
||||
|
||||
@@ -443,6 +443,7 @@ struct QueueCodeInformation
|
||||
{
|
||||
uint64_t ptr;
|
||||
uint32_t line;
|
||||
uint64_t symAddr;
|
||||
};
|
||||
|
||||
struct QueueCrashReport
|
||||
|
||||
Reference in New Issue
Block a user