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

Collect asm operation type data.

This commit is contained in:
Bartosz Taudul
2022-09-11 00:30:37 +02:00
parent ad23932e9f
commit 9372d9fb28
2 changed files with 25 additions and 1 deletions
+11
View File
@@ -77,6 +77,16 @@ private:
enum { RegMask = 0x0FF };
enum { FlagMask = 0xF00 };
enum class OpType : uint8_t
{
None,
Jump,
Branch,
Call,
Ret,
Privileged
};
struct AsmLine
{
uint64_t addr;
@@ -85,6 +95,7 @@ private:
std::string operands;
uint8_t len;
LeaData leaData;
OpType opType;
bool jumpConditional;
std::vector<AsmOpParams> params;
union