[Lldb-commits] [lldb] Summarize std::string's when created from data. (PR #89110)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Thu May 23 07:11:04 PDT 2024


Jlalond wrote:

@jimingham it turned out when created by data, the value object's address points to it's buffer which itself contains the char* of the string.

I'm not sure how we can support the small string optimization if this is the case, my testing was against a small string "test2", and it was always saved as a char* for the value object. I think for this PR we can probably ignore it and open an issue to support the small string optimization.

Please review when you have time

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


More information about the lldb-commits mailing list