[Lldb-commits] [PATCH] D30249: Clear expression when breakpoint location becomes unresolved

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 24 04:38:27 PST 2017


labath updated this revision to Diff 89645.
labath added a comment.

Switch SBBreakpoint to weak_ptr. This diff is pretty big but it amounts to
s/m_opaque_sp/m_opaque_wp and inserting a lock at the beginning of every
function. Since I had to touch them anyway, I took the opportunity to upgrade
the logging statements.

If this is ok, I'll follow this up with the same change for SBBreakpointLocation
and SBWatchpoint.


https://reviews.llvm.org/D30249

Files:
  include/lldb/API/SBBreakpoint.h
  packages/Python/lldbsuite/test/functionalities/breakpoint/step_over_breakpoint/TestStepOverBreakpoint.py
  packages/Python/lldbsuite/test/python_api/breakpoint/TestBreakpointAPI.py
  source/API/SBBreakpoint.cpp
  source/API/SBBreakpointLocation.cpp
  source/API/SBTarget.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30249.89645.patch
Type: text/x-patch
Size: 40811 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170224/1ad02beb/attachment-0001.bin>


More information about the lldb-commits mailing list