summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/CompileUnit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Symbol/CompileUnit.cpp')
-rw-r--r--lldb/source/Symbol/CompileUnit.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/lldb/source/Symbol/CompileUnit.cpp b/lldb/source/Symbol/CompileUnit.cpp
index 60a893b1d1e..7c60c1b9841 100644
--- a/lldb/source/Symbol/CompileUnit.cpp
+++ b/lldb/source/Symbol/CompileUnit.cpp
@@ -65,6 +65,13 @@ CompileUnit::DumpSymbolContext(Stream *s)
}
+void
+CompileUnit::GetDescription(Stream *s, lldb::DescriptionLevel level) const
+{
+ *s << '"' << (const FileSpec&)*this << "\", id = " << (const UserID&)*this
+ << ", language = " << (const Language&)*this;
+}
+
//----------------------------------------------------------------------
// Dump the current contents of this object. No functions that cause on
OpenPOWER on IntegriCloud