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

Pass symbol address to source view.

This commit is contained in:
Bartosz Taudul
2020-03-25 00:07:31 +01:00
parent 1999352004
commit 4c92a2619f
4 changed files with 29 additions and 26 deletions
+2 -1
View File
@@ -17,7 +17,7 @@ public:
SourceView( ImFont* font );
~SourceView();
void Open( const char* fileName, int line );
void Open( const char* fileName, int line, uint64_t symAddr );
void Render();
private:
@@ -25,6 +25,7 @@ private:
ImFont* m_font;
const char* m_file;
uint64_t m_symAddr;
char* m_data;
size_t m_dataSize;
int m_targetLine;