teak-llvm/lldb/scripts/Python/interface
Enrico Granata e3e91517ff <rdar://problem/12437442>
Given our implementation of ValueObjects we could have a scenario where a ValueObject has a dynamic type of Foo* at one point, and then its dynamic type changes to Bar*
If Bar* has synthetic children enabled, by the time we figure that out, our public API is already vending SBValues wrapping a DynamicVO, instead of a SyntheticVO and there was
no trivial way for us to change the SP inside an SBValue on the fly
This checkin reimplements SBValue in terms of a wrapper, ValueImpl, that allows this substitutions on-the-fly by overriding GetSP() to do The Right Thing (TM)
As an additional bonus, GetNonSyntheticValue() now works, and we can get rid of the ForceDisableSyntheticChildren idiom in ScriptInterpreterPython
Lastly, this checkin makes sure the synthetic VOs get the correct m_value and m_data from their parents (prevented summaries from working in some cases)

llvm-svn: 166426
2012-10-22 18:18:36 +00:00
..
SBAddress.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBBlock.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBBreakpoint.i Add one-shot breakpoints (-o option to "break set") and a tbreak alias for our gdb friends. 2012-10-05 19:16:31 +00:00
SBBreakpointLocation.i Add GetID to the .i file. 2012-05-16 17:15:08 +00:00
SBBroadcaster.i Add docstring for SBBroadcaster class. 2011-07-20 22:29:58 +00:00
SBCommandInterpreter.i Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
SBCommandReturnObject.i Removing the two extra GetXSize(bool) calls since we do not desire to support them long-term 2012-10-16 21:11:14 +00:00
SBCommunication.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBCompileUnit.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBData.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBDebugger.i Added SBDebugger's log callbacks to Python-land 2012-08-25 00:29:07 +00:00
SBDeclaration.i <rdar://problem/12462744> Implement a new SBDeclaration class to wrap an lldb_private::Declaration - make a GetDeclaration() API on SBValue to return a declaration. This will only work for vroot variables as they are they only objects for which we currently provide a valid Declaration 2012-10-10 22:54:17 +00:00
SBError.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBEvent.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBExpressionOptions.i API cleanup. 2012-10-16 22:58:25 +00:00
SBFileSpec.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBFileSpecList.i Added the ability to restrict breakpoints by function name, function regexp, selector 2011-09-23 00:54:11 +00:00
SBFrame.i Add the ability to set timeout & "run all threads" options both from the "expr" command and from 2012-10-16 21:41:58 +00:00
SBFunction.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBHostOS.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBInputReader.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBInstruction.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBInstructionList.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBLineEntry.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBListener.i Add a general mechanism to wait on the debugger for Broadcasters of a given class/event bit set. 2012-02-16 06:50:00 +00:00
SBModule.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBProcess.i <rdar://problem/12490558> 2012-10-12 23:32:11 +00:00
SBSection.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBSourceManager.i Add some docstrings for SBSourceManager class. 2011-07-19 23:35:10 +00:00
SBStream.i Fix a build warning and a dangerous possible crasher. 2012-10-08 23:50:19 +00:00
SBStringList.i Move the rest of the SB headers to interface files. 2011-07-19 22:41:47 +00:00
SBSymbol.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBSymbolContext.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBSymbolContextList.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTarget.i Add "vAttachOrWait" to debugserver, so you can implement "attach to the process if it exists OR wait for it" without race conditions. Use that in lldb. 2012-07-20 21:37:13 +00:00
SBThread.i Change the Thread constructor over to take a Process& rather than a ProcessSP. We can't create Threads with a NULL ProcessSP, so it makes no sense to use the SP. 2012-10-10 18:32:14 +00:00
SBType.i <rdar://problem/12490588> 2012-10-13 00:20:27 +00:00
SBTypeCategory.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeFilter.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeFormat.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeNameSpecifier.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeSummary.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBTypeSynthetic.i Added documentation for many of our python properties and also made the property help show up by declaring the properties correctly. We previosly declared properties into a local "x" variable, what I didn't realize is that the help will use this as the property name for the help output. 2012-06-29 22:00:42 +00:00
SBValue.i <rdar://problem/12437442> 2012-10-22 18:18:36 +00:00
SBValueList.i Make every Python API __len__() method return a PyIntObject. 2012-05-11 20:39:42 +00:00
SBWatchpoint.i Make raw & parsed commands subclasses of CommandObject rather than having the raw version implement an 2012-06-08 21:56:10 +00:00