SimpleDwarf: few fixes

This commit is contained in:
Théophile Bastian 2018-04-23 16:12:10 +02:00
parent 8bf2e1e49d
commit f9f64e9606
2 changed files with 4 additions and 1 deletions

View file

@ -14,6 +14,9 @@ static std::ostream& operator<<(
case SimpleDwarf::REG_RBP:
out << "rbp";
break;
case SimpleDwarf::REG_RA:
out << "RA";
break;
}
return out;

View file

@ -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&);