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

Allow GetSymbolStats() to fail gracefully.

This commit is contained in:
Bartosz Taudul
2020-02-29 18:41:07 +01:00
parent 9b53792f20
commit 39361f71a1
3 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ public:
const unordered_flat_map<uint64_t, SymbolData>& GetSymbolMap() const { return m_data.symbolMap; }
const unordered_flat_map<uint64_t, SymbolStats>& GetSymbolStats() const { return m_data.symbolStats; }
const SymbolStats& GetSymbolStats( uint64_t symAddr ) const;
const SymbolStats* GetSymbolStats( uint64_t symAddr ) const;
bool AreCallstackSamplesReady() const { return m_data.callstackSamplesReady; }
#endif