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

Display disassembly.

This commit is contained in:
Bartosz Taudul
2020-03-25 22:53:05 +01:00
parent b091c0d4a8
commit 4f417854e5
2 changed files with 188 additions and 39 deletions
+5
View File
@@ -32,14 +32,19 @@ public:
private:
void RenderLine( const Line& line, int lineNum, uint32_t ipcnt, uint32_t iptotal );
void RenderAsmLine( const AsmLine& line, uint32_t ipcnt, uint32_t iptotal );
bool Disassemble( uint64_t symAddr, const Worker& worker );
ImFont* m_font;
const char* m_file;
uint64_t m_symAddr;
uint64_t m_targetAddr;
char* m_data;
size_t m_dataSize;
int m_targetLine;
int m_selectedLine;
bool m_showAsm;
std::vector<Line> m_lines;
std::vector<AsmLine> m_asm;