hanchenye-llvm-project/lldb/source/Breakpoint
Greg Clayton e1cd1be6d6 Switching back to using std::tr1::shared_ptr. We originally switched away
due to RTTI worries since llvm and clang don't use RTTI, but I was able to 
switch back with no issues as far as I can tell. Once the RTTI issue wasn't
an issue, we were looking for a way to properly track weak pointers to objects
to solve some of the threading issues we have been running into which naturally
led us back to std::tr1::weak_ptr. We also wanted the ability to make a shared 
pointer from just a pointer, which is also easily solved using the 
std::tr1::enable_shared_from_this class. 

The main reason for this move back is so we can start properly having weak
references to objects. Currently a lldb_private::Thread class has a refrence
to its parent lldb_private::Process. This doesn't work well when we now hand
out a SBThread object that contains a shared pointer to a lldb_private::Thread
as this SBThread can be held onto by external clients and if they end up
using one of these objects we can easily crash.

So the next task is to start adopting std::tr1::weak_ptr where ever it makes
sense which we can do with lldb_private::Debugger, lldb_private::Target,
lldb_private::Process, lldb_private::Thread, lldb_private::StackFrame, and
many more objects now that they are no longer using intrusive ref counted
pointer objects (you can't do std::tr1::weak_ptr functionality with intrusive
pointers).

llvm-svn: 149207
2012-01-29 20:56:30 +00:00
..
Breakpoint.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
BreakpointID.cpp
BreakpointIDList.cpp To silence the static analyzer. 2011-08-11 21:24:08 +00:00
BreakpointList.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
BreakpointLocation.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
BreakpointLocationCollection.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +00:00
BreakpointLocationList.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
BreakpointOptions.cpp The "desired result type" code in the expression 2011-12-21 22:22:58 +00:00
BreakpointResolver.cpp Check in an initial implementation of the "breakpoint clear" command, whose purpose is clear 2010-10-28 17:27:46 +00:00
BreakpointResolverAddress.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
BreakpointResolverFileLine.cpp Don't set breakpoints independently comp unit by comp unit, but look over all the file & line matches 2012-01-13 02:04:05 +00:00
BreakpointResolverFileRegex.cpp Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
BreakpointResolverName.cpp Removed namespace qualification from symbol queries. 2011-10-13 16:49:47 +00:00
BreakpointSite.cpp Switching back to using std::tr1::shared_ptr. We originally switched away 2012-01-29 20:56:30 +00:00
BreakpointSiteList.cpp Update declarations for all functions/methods that accept printf-style 2011-09-20 21:44:10 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
Stoppoint.cpp
StoppointCallbackContext.cpp Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
StoppointLocation.cpp Fixed some extra warnings that show up with the new clang. 2011-12-03 00:46:21 +00:00
Watchpoint.cpp Minor comment change. Plus use member function instead of directly accessing member field. 2012-01-24 00:11:02 +00:00
WatchpointList.cpp SBValue::Watch() and SBValue::WatchPointee() are now the official API for creating 2011-10-14 00:42:25 +00:00