HomePhabricator

[lldb] Make BreakpointResolver hold weak_ptr instead of raw pointer to…

Authored by tatyana-krasnukha on Mar 3 2020, 2:29 AM.

Description

[lldb] Make BreakpointResolver hold weak_ptr instead of raw pointer to breakpoint

This prevents calling Breakpoint::shared_from_this of an object that is not owned by any shared_ptr.

Differential Revision: https://reviews.llvm.org/D74557