Add a function to make a mutex-protected copy of a breakpoint site's
authorJim Ingham <jingham@apple.com>
Wed, 29 Jul 2015 17:51:36 +0000 (17:51 +0000)
committerJim Ingham <jingham@apple.com>
Wed, 29 Jul 2015 17:51:36 +0000 (17:51 +0000)
commit9d1ccdaf7eba661cd7f9f6159515f015def27471
tree6c9b891c5e15226697ae9d0310145cc9c576a220
parent38c0250679d136b696214eb3b3156a1b4d73c988
Add a function to make a mutex-protected copy of a breakpoint site's
owners list, so the StopInfo machinery can get the list of owners without
some other thread being able to mess up the list by deleting/disabline one of its
locations in the process of doing so.

<rdar://problem/18685197>

llvm-svn: 243541
lldb/include/lldb/Breakpoint/BreakpointSite.h
lldb/source/Breakpoint/BreakpointSite.cpp
lldb/source/Target/StopInfo.cpp