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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user