[llvm-commits] [llvm] r71253 - /llvm/trunk/lib/Analysis/DebugInfo.cpp
Bill Wendling
isanbard at gmail.com
Fri May 8 13:28:06 PDT 2009
Author: void
Date: Fri May 8 15:28:06 2009
New Revision: 71253
URL: http://llvm.org/viewvc/llvm-project?rev=71253&view=rev
Log:
Print out nicer dump info for DIDescriptor.
Modified:
llvm/trunk/lib/Analysis/DebugInfo.cpp
Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=71253&r1=71252&r2=71253&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri May 8 15:28:06 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-commits
mailing list