summaryrefslogtreecommitdiffstats
path: root/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/DebugInfo.cpp')
-rw-r--r--lib/Analysis/DebugInfo.cpp6
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.