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

Match source and assembly selection.

This commit is contained in:
Bartosz Taudul
2020-04-08 22:57:42 +02:00
parent c3abcd9dc1
commit d300d17f9e
2 changed files with 47 additions and 19 deletions
+3 -1
View File
@@ -66,11 +66,12 @@ private:
void RenderLine( const Line& line, int lineNum, uint32_t ipcnt, uint32_t iptotal, const Worker* worker );
void RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t iptotal, const Worker& worker, uint64_t& jumpOut );
void SelectLine( uint32_t line, const Worker* worker );
ImFont* m_font;
const char* m_file;
uint32_t m_fileStringIdx;
uint64_t m_symAddr;
uint64_t m_currentAddr;
uint64_t m_baseAddr;
uint64_t m_targetAddr;
char* m_data;
@@ -92,6 +93,7 @@ private:
bool m_showJumps;
unordered_flat_map<uint32_t, uint32_t> m_sourceFiles;
unordered_flat_set<uint64_t> m_selectedAddresses;
};
}