forked from OSchip/llvm-project
Changed register ValueObjects to report their
expression path in a way that can actually be resolved by "expr". llvm-svn: 162574
This commit is contained in:
parent
6d675243b4
commit
6efc2ba7f8
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue