diff options
author | Sean Callanan <scallanan@apple.com> | 2012-08-24 18:21:05 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-08-24 18:21:05 +0000 |
commit | 3e8388ccdc30231f86521e0d2657f80548e3daed (patch) | |
tree | 7b481378be5a533a9944e89a6d2401dfba15bd41 /source/Core/ValueObjectRegister.cpp | |
parent | a47e44b447750f33bff81995f41c4051fc699409 (diff) | |
download | lldb-3e8388ccdc30231f86521e0d2657f80548e3daed.tar.gz |
Changed register ValueObjects to report their
expression path in a way that can actually be
resolved by "expr".
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Core/ValueObjectRegister.cpp')
-rw-r--r-- | source/Core/ValueObjectRegister.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/Core/ValueObjectRegister.cpp b/source/Core/ValueObjectRegister.cpp index 2f2959dd1..843f10d2f 100644 --- a/source/Core/ValueObjectRegister.cpp +++ b/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); +} + |