[lldb-dev] SBValue::GetName returns wrong result?

Alexander Polyakov via lldb-dev lldb-dev at lists.llvm.org
Sat Mar 30 11:18:50 PDT 2019

Hi lldb-dev,

I have a SBValue created via
SBTarget.CreateValueFromExpression('some_name', expr).
If the expression looks like '(some_type *) addr', then GetName returns
'some_name' as expected, but when I do Dereference this value, GetName
returns '*some_name'.

So, is it a conventional behavior of the GetName method applied to
dereferenced SBValue?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190330/1994716e/attachment.html>

More information about the lldb-dev mailing list