From: Bill Wendling Date: Fri, 8 May 2009 20:28:06 +0000 (+0000) Subject: Print out nicer dump info for DIDescriptor. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ad9c278338089abef904954670f25d53a8c7bcfe;p=oota-llvm.git Print out nicer dump info for DIDescriptor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71253 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 181f3e9eff1..50f54f59ee3 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/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.