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

Send symbol address in code information message.

This commit is contained in:
Bartosz Taudul 2021-06-19 19:03:00 +02:00
parent 3ce2f6209a
commit fe7db6db4e
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3
2 changed files with 2 additions and 0 deletions

View File

@ -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] );

View File

@ -443,6 +443,7 @@ struct QueueCodeInformation
{
uint64_t ptr;
uint32_t line;
uint64_t symAddr;
};
struct QueueCrashReport