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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to