teemperor accepted this revision.
teemperor added a comment.
This revision is now accepted and ready to land.

This LGTM modulo a missing nullptr check. Thanks for fixing this!

Also we probably should investigate the `strong=` summary differences. I would 
have blamed the fake constructors we are creating in LLDB, but as this isn't 
running any expressions this might us just reading the wrong values?



================
Comment at: lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp:407
+    auto ptr_sp =
+        valobj_sp->GetChildMemberWithName(ConstString("__ptr_"), true);
+    Status status;
----------------
`ptr_sp` should have a nullptr check as `__ptr_` might be missing because we 
screw up some debug info parsing, or someone renamed the member or idk. In any 
case, this shouldn't crash.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D97165

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to