mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Print integer values as both decimal and hexadecimal for convenience
of verifying result values when debugging. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37156 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a066810681
commit
09d8c9278e
@ -1347,7 +1347,7 @@ static void PrintGenericValue(const GenericValue &Val, const Type* Ty) {
|
||||
case Type::PointerTyID: DOUT << "void* " << intptr_t(Val.PointerVal); break;
|
||||
case Type::IntegerTyID:
|
||||
DOUT << "i" << Val.IntVal.getBitWidth() << " " << Val.IntVal.toString(10)
|
||||
<< "\n";
|
||||
<< " (0x" << Val.IntVal.toString(16) << ")\n";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user