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
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