Go to file
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
clang Introduce a new mangling for protocol-qualified ObjC types in C++. This allows 2013-06-18 22:41:37 +00:00
clang-tools-extra Fixed a typo and naming convention. 2013-06-18 19:56:05 +00:00
compiler-rt [asan] fix a rare failure in fast unwinder, found by asan/clang bootstrap 2013-06-18 14:47:40 +00:00
debuginfo-tests We've got the type right, which has broken these tests - but now we need to get the location information correct that the type was papering over 2013-06-07 22:09:23 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Test case for r183481. 2013-06-07 14:24:18 +00:00
libcxxabi Tweaks/cleanups provided by Matthew Dempsky 2013-06-17 20:25:21 +00:00
lld [PECOFF] Extract atom definitions as Atoms.h so that we can use them in other files. 2013-06-17 21:19:07 +00:00
lldb 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
llvm Identify me on IRC. 2013-06-18 22:09:36 +00:00
polly revert r183799: scop detection: remove an iteration over all uses 2013-06-17 21:43:10 +00:00