mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-20 19:25:05 +00:00
Add type output to llvm-dis. Patch by Yuri!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8d06ffca9b
commit
98cc1ef3e9
@ -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…
x
Reference in New Issue
Block a user