llvm-project/lldb/source
Raphael Isemann cfaa5c344d [lldb] Filter duplicates in Target::GetScratchTypeSystems
`Target::GetScratchTypeSystems` returns the list of scratch TypeSystems. The
current implementation is iterating over all LanguageType values and retrieves
the respective TypeSystem for each LanguageType.

All C/C++/Obj-C LanguageTypes are however mapped to the same
ScratchTypeSystemClang instance, so the current implementation adds this single
TypeSystem instance several times to the list of TypeSystems (once for every
LanguageType that we support).

The only observable effect of this is that `SBTarget.FindTypes` for builtin
types currently queries the ScratchTypeSystemClang several times (and also adds
the same result several times).

Reviewed By: bulbazord, labath

Differential Revision: https://reviews.llvm.org/D111931
2021-10-19 11:49:47 +02:00
..
API Add a "command container" hierarchy to allow users to add container nodes. 2021-10-18 15:29:24 -07:00
Breakpoint Use llvm::erase_if (NFC) 2021-10-18 09:33:42 -07:00
Commands Add a "command container" hierarchy to allow users to add container nodes. 2021-10-18 15:29:24 -07:00
Core [lldb][NFC] clang format change 2021-10-18 12:00:32 +02:00
DataFormatters [lldb] Make char[N] formatters respect the end of the array (PR44649) 2021-10-11 12:47:11 +02:00
Expression [lldb, mlir] Migrate from getNumArgOperands and arg_operands (NFC) 2021-10-07 08:29:42 -07:00
Host [lldb] [ConnectionFileDescriptorPosix] Combine m_read_sp & m_write_sp 2021-10-11 12:08:08 +02:00
Initialization [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
Interpreter Add a "command container" hierarchy to allow users to add container nodes. 2021-10-18 15:29:24 -07:00
Plugins [lldb] [ABI/X86] Support combining xmm* and ymm*h regs into ymm* 2021-10-19 10:31:07 +02:00
Symbol [lldb] Return StringRef from PluginInterface::GetPluginName 2021-10-18 10:14:42 +02:00
Target [lldb] Filter duplicates in Target::GetScratchTypeSystems 2021-10-19 11:49:47 +02:00
Utility [lldb] [Utility] Remove Status::WasInterrupted() along with its only use 2021-10-18 10:50:25 +02:00
CMakeLists.txt [LLVM][CMake][NFC] Resolve FIXME: Rename LLVM_CMAKE_PATH to LLVM_CMAKE_DIR throughout the project 2021-09-16 18:29:57 +02:00
lldb.cpp [lldb] Reinstate support for LLDB_VERSION_STRING 2021-02-22 16:56:00 -08:00