Print out nicer dump info for DIDescriptor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2009-05-08 20:28:06 +00:00
parent 26466c0eb3
commit ad9c278338

View File

@ -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.