[llvm-branch-commits] [llvm-branch] r71254 - /llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp

Bill Wendling isanbard at gmail.com
Fri May 8 13:29:05 PDT 2009


Author: void
Date: Fri May  8 15:29:05 2009
New Revision: 71254

URL: http://llvm.org/viewvc/llvm-project?rev=71254&view=rev
Log:
Print out nicer dump info for DIDescriptor.

Modified:
    llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp

Modified: llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp?rev=71254&r1=71253&r2=71254&view=diff

==============================================================================
--- llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/branches/Apple/Dib/lib/Analysis/DebugInfo.cpp Fri May  8 15:29:05 2009
@@ -983,7 +983,8 @@
 
 /// 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.





More information about the llvm-branch-commits mailing list