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

Implement search for symbol base from address.

This commit is contained in:
Bartosz Taudul
2020-03-27 17:39:42 +01:00
parent 4c381e13e9
commit 992f4c8c2d
2 changed files with 9 additions and 0 deletions
+1
View File
@@ -432,6 +432,7 @@ public:
uint64_t GetCanonicalPointer( const CallstackFrameId& id ) const;
const SymbolData* GetSymbolData( uint64_t sym ) const;
const char* GetSymbolCode( uint64_t sym, uint32_t& len ) const;
uint64_t GetSymbolForAddress( uint64_t address, uint32_t& offset ) const;
#ifndef TRACY_NO_STATISTICS
const VarArray<CallstackFrameId>& GetParentCallstack( uint32_t idx ) const { return *m_data.parentCallstackPayload[idx]; }