summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2009-05-08 20:28:06 +0000
committerBill Wendling <isanbard@gmail.com>2009-05-08 20:28:06 +0000
commiteefdf8970eea4de843f093e353a44cd4d956d66c (patch)
tree6a6059b128d31722b5fae5b309a1916495ec9dd1 /llvm/lib
parentee750d142dbf8616193c66e718ef86520163d297 (diff)
downloadbcm5719-llvm-eefdf8970eea4de843f093e353a44cd4d956d66c.tar.gz
bcm5719-llvm-eefdf8970eea4de843f093e353a44cd4d956d66c.zip
Print out nicer dump info for DIDescriptor.
llvm-svn: 71253
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index 181f3e9eff1..50f54f59ee3 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -983,7 +983,8 @@ namespace llvm {
/// dump - print descriptor.
void DIDescriptor::dump() const {
- cerr << " [" << dwarf::TagString(getTag()) << "]\n";
+ cerr << "[" << dwarf::TagString(getTag()) << "] ";
+ cerr << std::hex << "[GV:" << GV << "]" << std::dec;
}
/// dump - print compile unit.
OpenPOWER on IntegriCloud