SimpleDwarf: few fixes
This commit is contained in:
parent
8bf2e1e49d
commit
f9f64e9606
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,9 @@ static std::ostream& operator<<(
|
|||
case SimpleDwarf::REG_RBP:
|
||||
out << "rbp";
|
||||
break;
|
||||
case SimpleDwarf::REG_RA:
|
||||
out << "RA";
|
||||
break;
|
||||
}
|
||||
|
||||
return out;
|
||||
|
|
|
@ -34,7 +34,7 @@ struct SimpleDwarf {
|
|||
};
|
||||
|
||||
Type type; ///< Type of this register
|
||||
uintptr_t offset; ///< Offset from the expression, if applicable
|
||||
int offset; ///< Offset from the expression, if applicable
|
||||
MachineRegister reg; ///< Machine register implied, if applicable
|
||||
|
||||
friend std::ostream& operator<<(std::ostream &, const DwRegister&);
|
||||
|
|
Loading…
Reference in a new issue