llvm-project/lldb/source/Breakpoint
Sean Callanan 92adcac9ec Implemented a major overhaul of the way variables are handled
by LLDB.  Instead of being materialized into the input structure
passed to the expression, variables are left in place and pointers
to them are materialzied into the structure.  Variables not resident
in memory (notably, registers) get temporary memory regions allocated
for them.

Persistent variables are the most complex part of this, because they
are made in various ways and there are different expectations about
their lifetime.  Persistent variables now have flags indicating their
status and what the expectations for longevity are.  They can be
marked as residing in target memory permanently -- this is the
default for result variables from expressions entered on the command
line and for explicitly declared persistent variables (but more on
that below).  Other result variables have their memory freed.

Some major improvements resulting from this include being able to
properly take the address of variables, better and cleaner support
for functions that return references, and cleaner C++ support in
general.  One problem that remains is the problem of explicitly
declared persistent variables; I have not yet implemented the code
that makes references to them into indirect references, so currently
materialization and dematerialization of these variables is broken.

llvm-svn: 123371
2011-01-13 08:53:35 +00:00
..
Breakpoint.cpp Fixed an issue where the macosx dynamic loader, on the first shared library loaded notification, wasn't properly removing shared libraries from the target that didn't get loaded. This usually happens when a different shared library is loaded in place of another due to DYLD_LIBRARY_PATH or DYLD_FRAMEWORK_PATH environment variables. We now properly remove any images that didn't make it into the executable. 2010-12-12 21:03:32 +00:00
BreakpointID.cpp Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
BreakpointIDList.cpp Fix some memory leaks. 2010-10-12 21:57:09 +00:00
BreakpointList.cpp Added needed breakpoint functionality to the public API that includes: 2010-07-23 23:33:17 +00:00
BreakpointLocation.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53: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 Don't re-insert disabled breakpoint locations. 2010-10-20 03:36:33 +00:00
BreakpointOptions.cpp Implemented a major overhaul of the way variables are handled 2011-01-13 08:53:35 +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 Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
BreakpointResolverName.cpp Fixed a crasher (an assert was firing in the DWARF parser) when setting 2010-11-14 00:22:48 +00:00
BreakpointSite.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +00:00
BreakpointSiteList.cpp Abtracted the old "lldb_private::Thread::StopInfo" into an abtract class. 2010-08-04 01:40:35 +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 Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
StoppointCallbackContext.cpp Very large changes that were needed in order to allow multiple connections 2010-06-23 01:19:29 +00:00
StoppointLocation.cpp Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
WatchpointLocation.cpp Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00