llvm-project/lldb/source/API
Greg Clayton 8b2fe6dcbd Modified LLDB expressions to not have to JIT and run code just to see variable
values or persistent expression variables. Now if an expression consists of
a value that is a child of a variable, or of a persistent variable only, we
will create a value object for it and make a ValueObjectConstResult from it to
freeze the value (for program variables only, not persistent variables) and
avoid running JITed code. For everything else we still parse up and JIT code
and run it in the inferior. 

There was also a lot of clean up in the expression code. I made the 
ClangExpressionVariables be stored in collections of shared pointers instead
of in collections of objects. This will help stop a lot of copy constructors on
these large objects and also cleans up the code considerably. The persistent
clang expression variables were moved over to the Target to ensure they persist
across process executions.

Added the ability for lldb_private::Target objects to evaluate expressions.
We want to evaluate expressions at the target level in case we aren't running
yet, or we have just completed running. We still want to be able to access the
persistent expression variables between runs, and also evaluate constant 
expressions. 

Added extra logging to the dynamic loader plug-in for MacOSX. ModuleList objects
can now dump their contents with the UUID, arch and full paths being logged with
appropriate prefix values.

Thread hardened the Communication class a bit by making the connection auto_ptr
member into a shared pointer member and then making a local copy of the shared
pointer in each method that uses it to make sure another thread can't nuke the
connection object while it is being used by another thread.

Added a new file to the lldb/test/load_unload test that causes the test a.out file
to link to the libd.dylib file all the time. This will allow us to test using
the DYLD_LIBRARY_PATH environment variable after moving libd.dylib somewhere else.

llvm-svn: 121745
2010-12-14 02:59:59 +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 Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBBlock.cpp Added copy constructors and assignment operators to all lldb::SB* classes 2010-11-05 23:17:00 +00:00
SBBreakpoint.cpp Added the ability for SBTarget to resolve load addresses (convert lldb::addr_t values into resolved SBAddress objects). These SBAddress objects can then be used to resolve a symbol context using "lldb::SBSymbolContext ResolveSymbolContextForAddress (const lldb::SBAddress& addr, uint32_t resolve_scope);". 2010-12-12 19:25:26 +00:00
SBBreakpointLocation.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +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 Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +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 Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBDebugger.cpp Add the ability to catch and do the right thing with Interrupts (often control-c) 2010-11-19 20:47:54 +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 Modified LLDB expressions to not have to JIT and run code just to see variable 2010-12-14 02:59:59 +00:00
SBFunction.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +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 Fixed an issue where SBProcess::LoadImage(...) was not returning the image 2010-12-05 20:38:01 +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 Added symbol table access through the module for now. We might need to expose 2010-12-07 05:40:31 +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 Added the ability for SBTarget to resolve load addresses (convert lldb::addr_t values into resolved SBAddress objects). These SBAddress objects can then be used to resolve a symbol context using "lldb::SBSymbolContext ResolveSymbolContextForAddress (const lldb::SBAddress& addr, uint32_t resolve_scope);". 2010-12-12 19:25:26 +00:00
SBThread.cpp Added the ability to get more information on the SBThread's stop reason 2010-11-18 18:52:36 +00:00
SBType.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBValue.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00
SBValueList.cpp Modified all logging calls to hand out shared pointers to make sure we 2010-11-06 01:53:30 +00:00