[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 11:57:20 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:

Do we need this since we iterate all cases anyway?

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


More information about the lldb-commits mailing list