[Lldb-commits] [lldb] [lldb] Do not bump memory modificator ID when "internal" debugger memory is updated (PR #129092)

via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 14 16:58:25 PDT 2025


jimingham wrote:

If I make an instance of a collection class (most of which are comprehended by synthetic child providers) and then call:

(lldb) expr $my_vector.append(1)
(lldb) expr $my_vector

Then if I understand correctly, the second printing will not show the elements correctly.  Our support for making std::vector objects in the expression parser is weak right now, but our plan is to make this work.  And you certainly could have the same problem with something that wrapped one of these collection classes, since its constructor would work around the problem of instantiating the template.

That doesn't seem to me like such a far-fetched example.

https://github.com/llvm/llvm-project/pull/129092


More information about the lldb-commits mailing list