diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-05-08 20:28:06 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-05-08 20:28:06 +0000 |
commit | ad9c278338089abef904954670f25d53a8c7bcfe (patch) | |
tree | 00710b5ddb68ad47f9750a5984a4cd8cafe5ad96 /lib/Analysis/DebugInfo.cpp | |
parent | 26466c0eb3451c5c953b3cca8940359152c4f8e3 (diff) | |
download | external_llvm-ad9c278338089abef904954670f25d53a8c7bcfe.zip external_llvm-ad9c278338089abef904954670f25d53a8c7bcfe.tar.gz external_llvm-ad9c278338089abef904954670f25d53a8c7bcfe.tar.bz2 |
Print out nicer dump info for DIDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71253 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 181f3e9..50f54f5 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. |