[Lldb-commits] [lldb] Summarize std::string's when created from data. (PR #89110)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 17 13:29:34 PDT 2024
================
@@ -254,13 +254,13 @@ bool lldb_private::formatters::LibStdcppStringSummaryProvider(
} else
addr_of_string =
valobj.GetAddressOf(scalar_is_load_addr, &addr_type);
- if (addr_of_string != LLDB_INVALID_ADDRESS) {
+ if (addr_of_string != LLDB_INVALID_ADDRESS ||
+ addr_type == eAddressTypeHost) {
----------------
kusmour wrote:
Ohh wow, so for this specific situation we will have `addr_of_string == LLDB_INVALID_ADDRESS`?
Would you mind adding a comment for that?
https://github.com/llvm/llvm-project/pull/89110
More information about the lldb-commits
mailing list