Add locking around the m_owners collection in the breakpoint site. If we are in...
authorJim Ingham <jingham@apple.com>
Wed, 18 Jun 2014 01:04:40 +0000 (01:04 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 18 Jun 2014 01:04:40 +0000 (01:04 +0000)
commit5799e291e14a71a12e12b3106f550b28b0beabb6
tree09986db88b86471d32ed0764ea03c8763aa3ac21
parentdb2668a1da1872563c544c96e93304043d24af68
Add locking around the m_owners collection in the breakpoint site.  If we are in the middle of "BreakpointLocation::ShouldStop" we don't
want other commands (like "break disable") to mutate the owners of this breakpoint out from under us.

<rdar://problem/17255589>

llvm-svn: 211136
lldb/include/lldb/Breakpoint/BreakpointSite.h
lldb/source/Breakpoint/BreakpointSite.cpp