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

Highlight asm lines for hovered source line.

This commit is contained in:
Bartosz Taudul
2020-04-09 21:57:28 +02:00
parent 1e965edb54
commit 0791871955
2 changed files with 28 additions and 1 deletions
+2
View File
@@ -68,6 +68,7 @@ private:
void SelectLine( uint32_t line, const Worker* worker, bool changeAsmLine = true, uint64_t targetAddr = 0 );
void SelectAsmLines( uint32_t file, uint32_t line, const Worker& worker, bool changeAsmLine = true, uint64_t targetAddr = 0 );
void SelectAsmLinesHover( uint32_t file, uint32_t line, const Worker& worker );
ImFont* m_font;
const char* m_file;
@@ -95,6 +96,7 @@ private:
unordered_flat_map<uint32_t, uint32_t> m_sourceFiles;
unordered_flat_set<uint64_t> m_selectedAddresses;
unordered_flat_set<uint64_t> m_selectedAddressesHover;
uint32_t m_maxLine;
int m_maxMnemonicLen;