llvm-project/lldb/source/API
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
..
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
SBAddress.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBlock.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBBreakpoint.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBreakpointLocation.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBBroadcaster.cpp Added a less than operator that will compare the internal opaque pointer values so SBBroadcaster objects can be contained in ordered containers or sorted. 2010-12-05 23:14:19 +00:00
SBCommandInterpreter.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBCommandReturnObject.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBCommunication.cpp More reverting of the EOF stuff as the API was changed which we don't want to 2010-12-04 02:39:47 +00:00
SBCompileUnit.cpp Fixed SBFrame to properly check to make sure it has a valid m_opaque_sp object 2010-12-14 04:58:53 +00:00
SBDebugger.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBError.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBEvent.cpp Fixed a crasher when trying to get event data flavors on events that don't 2010-12-05 19:21:02 +00:00
SBFileSpec.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBFrame.cpp Implemented a major overhaul of the way variables are handled 2011-01-13 08:53:35 +00:00
SBFunction.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBHostOS.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBInputReader.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBInstruction.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBInstructionList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBLineEntry.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBListener.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBModule.cpp Added symbol table access through the module for now. We might need to expose 2010-12-07 05:40:31 +00:00
SBProcess.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBSourceManager.cpp Add test_display_source_python() test case to TestSourceManager.py which uses 2010-12-11 01:20:39 +00:00
SBStream.cpp Add test_display_source_python() test case to TestSourceManager.py which uses 2010-12-11 01:20:39 +00:00
SBStringList.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBSymbol.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBSymbolContext.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBSymbolContextList.cpp Added some missing API for address resolving within a module, and looking 2010-09-10 18:31:35 +00:00
SBTarget.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00
SBThread.cpp Added the following functions to SBThread to allow threads to be suspended when a process is resumed: 2011-01-12 02:25:42 +00:00
SBType.cpp Linux patches from Stephen Wilson. 2010-12-18 01:48:09 +00:00
SBValue.cpp Added the ability to get an set the desired format for SBValue objects. 2011-01-05 18:43:15 +00:00
SBValueList.cpp The LLDB API (lldb::SB*) is now thread safe! 2010-12-20 20:49:23 +00:00