[Lldb-commits] [PATCH] D77153: [lldb/DataFormatters] Display null C++ pointers as nullptr

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 1 00:30:59 PDT 2020


labath added a comment.

In D77153#1952952 <https://reviews.llvm.org/D77153#1952952>, @friss wrote:

> I haven't tested the libstdc++ part, would be great if someone could confirm this works.


This doesn't work work for libstdc++ (I get `<parent failed to evaluate: parent is NULL>`), presumably because the code uses the simple `StringSummaryFormat` (`new StringSummaryFormat(stl_summary_flags, "${var._M_dataplus._M_p}")`) instead of `CXXFunctionSummaryFormat` However, it doesn't make the situation any worse either, so you can just drop the libstdc++ test changes and carry on.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77153/new/

https://reviews.llvm.org/D77153





More information about the lldb-commits mailing list