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

Hackish support for LEA variants.

This commit is contained in:
Bartosz Taudul
2020-04-27 00:49:37 +02:00
parent 70605fc8ed
commit abd00e28b8
2 changed files with 76 additions and 8 deletions
+15
View File
@@ -53,6 +53,20 @@ class SourceView
uint16_t width;
};
enum class LeaData : uint8_t
{
none,
b,
bd,
bi,
bid,
d,
i,
id,
r,
rd
};
struct AsmLine
{
uint64_t addr;
@@ -60,6 +74,7 @@ class SourceView
std::string mnemonic;
std::string operands;
uint8_t len;
LeaData leaData;
std::vector<AsmOpParams> params;
};