a8b56238ce138e70433a0ce0b4218c9257beae38 |
|
19-Jun-2013 |
Greg Clayton <gclayton@apple.com> |
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. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@184251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
172295062971d190d74a0118e0244e3a6e6e6ef7 |
|
12-Nov-2012 |
Daniel Malea <daniel.malea@intel.com> |
Replace const_iterator with iterator to build against libstdc++ - libstdc++ defines vector::erase(iterator) but not vector::erase(const_iterator) git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167764 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
e727b87cb85f75ff1a6d56010c4390ccaa8152a9 |
|
12-Nov-2012 |
Greg Clayton <gclayton@apple.com> |
<rdar://problem/12153915> When uniquing classes against one another we can't depend on any or all of the artificial functions (default ctor, dtor, copy ctor, move ctor, etc) being in each definition. Now we treat those separately and handle those to the best of our ability. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@167752 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
73844aa19a7360b662e2be710fc3c969d6c86606 |
|
22-Aug-2012 |
Greg Clayton <gclayton@apple.com> |
Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: - no setting auto completion - very manual and error prone way of getting/setting variables - tons of code duplication - useless instance names for processes, threads Now settings can easily be defined like option values. The new settings makes use of the "OptionValue" classes so we can re-use the option value code that we use to set settings in command options. No more instances, just "does the right thing". git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@162366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
95decca6c9ef181c4460ecbeb027731d7c181c33 |
|
11-Sep-2011 |
Greg Clayton <gclayton@apple.com> |
Added extra calls to the UniqueCStringMap to allow it to be used more efficiently when it contains a large number of items. Since the map is actually a vector of "const char *" and type T values, it will double in size every time you append to it. The extra added functions allow the collection to be sized to fit the data after all entries have been appended, and lookups by name or by regex have been built in to the class to allow efficient lookup. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@139477 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
8e432fa9ca1f8f191ac11d68fffb50805ae44417 |
|
10-Jun-2011 |
Greg Clayton <gclayton@apple.com> |
Make the size accessor const. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132829 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
53d68e749f0715691a95f23e9490d97e484b15da |
|
21-Jul-2010 |
Greg Clayton <gclayton@apple.com> |
Remove use of STL collection class use of the "data()" method since it isn't part of C++'98. Most of these were "std::vector<T>::data()" and "std::string::data()". git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108957 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|
24943d2ee8bfaa7cf5893e4709143924157a5c1e |
|
08-Jun-2010 |
Chris Lattner <sabre@nondot.org> |
Initial checkin of lldb code from internal Apple repo. git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@105619 91177308-0d34-0410-b5e6-96231b3b80d8
/external/lldb/include/lldb/Core/UniqueCStringMap.h
|