labath added a comment. In D88266#2302245 <https://reviews.llvm.org/D88266#2302245>, @jingham wrote:
> Use std::weak_ptr::lock to make the shared pointer, rather than > std::shared_ptr::shared_ptr(std::weak_ptr) (sort of), as the latter throws. Yep, `wp.lock()` behaves differently from the shared_ptr constructor. :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D88266/new/ https://reviews.llvm.org/D88266 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits