diff options
author | Bill Wendling <isanbard@gmail.com> | 2009-05-05 22:19:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2009-05-05 22:19:25 +0000 |
commit | 16de0136404b7e4703e528ae6f641c6fb7ee2f8b (patch) | |
tree | 0a627a3ad48a43c4fa1e84cddc8b2d4fa4b6f1f6 /lib | |
parent | ff9977f8cdd5275448ca19736cd14a6e20c0dac4 (diff) | |
download | external_llvm-16de0136404b7e4703e528ae6f641c6fb7ee2f8b.zip external_llvm-16de0136404b7e4703e528ae6f641c6fb7ee2f8b.tar.gz external_llvm-16de0136404b7e4703e528ae6f641c6fb7ee2f8b.tar.bz2 |
Add dump method to DIDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DebugInfo.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp index 5d1f7cb..181f3e9 100644 --- a/lib/Analysis/DebugInfo.cpp +++ b/lib/Analysis/DebugInfo.cpp @@ -981,6 +981,11 @@ namespace llvm { } } +/// dump - print descriptor. +void DIDescriptor::dump() const { + cerr << " [" << dwarf::TagString(getTag()) << "]\n"; +} + /// dump - print compile unit. void DICompileUnit::dump() const { if (getLanguage()) @@ -1035,7 +1040,6 @@ void DIType::dump() const { /// dump - print basic type. void DIBasicType::dump() const { cerr << " [" << dwarf::AttributeEncodingString(getEncoding()) << "] "; - } /// dump - print derived type. |