mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-27 05:55:40 +00:00
Add type output to llvm-dis. Patch by Yuri!
llvm-svn: 127813
This commit is contained in:
parent
0e9d7aeb1f
commit
b1ced0cb9e
@ -74,7 +74,7 @@ public:
|
||||
if (!V.getType()->isVoidTy()) {
|
||||
OS.PadToColumn(50);
|
||||
Padded = true;
|
||||
OS << "; [#uses=" << V.getNumUses() << ']'; // Output # uses
|
||||
OS << "; [#uses=" << V.getNumUses() << " type=" << V.getType()->getDescription() << "]"; // Output # uses and type
|
||||
}
|
||||
if (const Instruction *I = dyn_cast<Instruction>(&V)) {
|
||||
const DebugLoc &DL = I->getDebugLoc();
|
||||
|
Loading…
Reference in New Issue
Block a user