summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/include/lldb/Core/ValueObjectRegister.h3
-rw-r--r--lldb/source/Core/ValueObjectRegister.cpp6
2 files changed, 9 insertions, 0 deletions
diff --git a/lldb/include/lldb/Core/ValueObjectRegister.h b/lldb/include/lldb/Core/ValueObjectRegister.h
index ded6b3431f7..6bc64cc6908 100644
--- a/lldb/include/lldb/Core/ValueObjectRegister.h
+++ b/lldb/include/lldb/Core/ValueObjectRegister.h
@@ -162,6 +162,9 @@ public:
virtual bool
ResolveValue (Scalar &scalar);
+
+ virtual void
+ GetExpressionPath (Stream &s, bool qualify_cxx_base_classes, GetExpressionPathFormat epformat = eGetExpressionPathFormatDereferencePointers);
protected:
virtual bool
diff --git a/lldb/source/Core/ValueObjectRegister.cpp b/lldb/source/Core/ValueObjectRegister.cpp
index 2f2959dd1fe..843f10d2f61 100644
--- a/lldb/source/Core/ValueObjectRegister.cpp
+++ b/lldb/source/Core/ValueObjectRegister.cpp
@@ -430,4 +430,10 @@ ValueObjectRegister::ResolveValue (Scalar &scalar)
return false;
}
+void
+ValueObjectRegister::GetExpressionPath (Stream &s, bool qualify_cxx_base_classes, GetExpressionPathFormat epformat)
+{
+ s.Printf("$%s", m_reg_info.name);
+}
+
OpenPOWER on IntegriCloud