llvm-capstone/lldb/bindings
Vlad Serebrennikov 93229c7bfd
[lldb] Add SBType::FindDirectNestedType() function (#68705)
This patch adds a `SBType::FindDirectNestedType(name)` function which performs a non-recursive search in given class for a type with specified name. The intent is to perform a fast search in debug info, so that it can be used in formatters, and let them remain responsive.

This is driven by my work on formatters for Clang and LLVM types. In particular, by [`PointerIntPairInfo::MaskAndShiftConstants`](cde9f9df79/llvm/include/llvm/ADT/PointerIntPair.h (L174C16-L174C16)), which is required to extract pointer and integer from `PointerIntPair`.

Related Discourse thread: https://discourse.llvm.org/t/traversing-member-types-of-a-type/72452
2023-10-14 10:52:34 +04:00
..
interface [lldb] Add SBType::FindDirectNestedType() function (#68705) 2023-10-14 10:52:34 +04:00
lua [lldb] Fix lua build after 27b6a4e63a 2023-05-15 17:24:00 -07:00
python [lldb] Format more Python files with black (#65979) 2023-09-12 08:46:34 +01:00
CMakeLists.txt [lldb] Replace SB swig interfaces with API headers 2023-02-16 11:18:04 -08:00
headers.swig [lldb] Expose SBPlatform::GetAllProcesses to the SB API (#68378) 2023-10-06 10:43:31 -07:00
interfaces.swig [lldb] Expose SBPlatform::GetAllProcesses to the SB API (#68378) 2023-10-06 10:43:31 -07:00
macros.swig [lldb][NFCI] Remove unused swig macros 2023-04-25 16:47:00 -07:00