teak-llvm/lldb/scripts/Python/interface
Greg Clayton f02500c74c Added the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are:
//------------------------------------------------------------------
/// Get all types matching \a type_mask from debug info in this
/// module.
///
/// @param[in] type_mask
///     A bitfield that consists of one or more bits logically OR'ed
///     together from the lldb::TypeClass enumeration. This allows
///     you to request only structure types, or only class, struct
///     and union types. Passing in lldb::eTypeClassAny will return
///     all types found in the debug information for this module.
///
/// @return
///     A list of types in this module that match \a type_mask
//------------------------------------------------------------------
lldb::SBTypeList
SBModule::GetTypes (uint32_t type_mask)


//------------------------------------------------------------------
/// Get all types matching \a type_mask from debug info in this
/// compile unit.
///
/// @param[in] type_mask
///    A bitfield that consists of one or more bits logically OR'ed
///    together from the lldb::TypeClass enumeration. This allows
///    you to request only structure types, or only class, struct
///    and union types. Passing in lldb::eTypeClassAny will return
///    all types found in the debug information for this compile
///    unit.
///
/// @return
///    A list of types in this compile unit that match \a type_mask
//------------------------------------------------------------------
lldb::SBTypeList
SBCompileUnit::GetTypes (uint32_t type_mask = lldb::eTypeClassAny);

This lets you request types by filling out a mask that contains one or more bits from the lldb::TypeClass enumerations, so you can only get the types you really want.

llvm-svn: 184251
2013-06-18 22:51:05 +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 <rdar://problem/13281528> 2013-02-25 21:53:07 +00:00
SBBreakpoint.i Adding properties to the SBBreakpoint class 2013-06-10 22:39:08 +00:00
SBBreakpointLocation.i Add GetID to the .i file. 2012-05-16 17:15:08 +00:00
SBBroadcaster.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBCommandInterpreter.i Implementing plugins that provide commands. 2012-09-28 23:57:51 +00:00
SBCommandReturnObject.i <rdar://problem/13499317> 2013-05-02 17:29:04 +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 the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
SBData.i <rdar://problem/13646047> 2013-06-11 22:06:06 +00:00
SBDebugger.i Fix document typos, indentation in python code, and API examples. 2013-02-12 20:01:49 +00:00
SBDeclaration.i <rdar://problem/11742979> 2013-05-03 01:29:27 +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 After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +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 <rdar://problem/11742979> 2013-05-03 01:29:27 +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 <rdar://problem/11742979> 2013-05-03 01:29:27 +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 the ability to get a list of types from a SBModule or SBCompileUnit. Sebastien Metrot wanted this, and sent a hollowed out patch. I filled in the blanks and did the low level implementation. The new functions are: 2013-06-18 22:51:05 +00:00
SBProcess.i Reworked the way Process::RunThreadPlan and the ThreadPlanCallFunction interoperate to fix problems where 2013-02-09 01:29:05 +00:00
SBSection.i Added a SBSection::GetParent() to the API. 2013-06-13 21:23:23 +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 <rdar://problem/11742979> 2013-05-03 01:29:27 +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 <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBThread.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBType.i After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
SBTypeCategory.i Improvements to the data formatters SB API: 2013-06-11 22:58:32 +00:00
SBTypeFilter.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeFormat.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeNameSpecifier.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSummary.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBTypeSynthetic.i <rdar://problem/11742979> 2013-05-03 01:29:27 +00:00
SBValue.i Make sure we expose SetData() through the Python 2013-04-13 01:28:33 +00:00
SBValueList.i Make every Python API __len__() method return a PyIntObject. 2012-05-11 20:39:42 +00:00
SBWatchpoint.i Adding events when watchpoints are set or changed. 2012-12-18 02:03:49 +00:00