diff options
author | Stuart Hastings <stuart@apple.com> | 2011-03-17 16:30:14 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2011-03-17 16:30:14 +0000 |
commit | 98cc1ef3e95f302df6aa6500bc986c4ff5938725 (patch) | |
tree | 17e619695641ba6ce599f3064f3f36639e4a1b6f /tools/llvm-dis | |
parent | 8d06ffca9b72ebef7f5b8830b7ccbd9dd74f8e18 (diff) |
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
Diffstat (limited to 'tools/llvm-dis')
-rw-r--r-- | tools/llvm-dis/llvm-dis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-dis/llvm-dis.cpp b/tools/llvm-dis/llvm-dis.cpp index d1ac9de307..7453d9e9f4 100644 --- a/tools/llvm-dis/llvm-dis.cpp +++ b/tools/llvm-dis/llvm-dis.cpp @@ -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(); |