llvm-project/lldb
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
..
bindings [NFC] fix a typo 2021-10-15 14:51:49 +08:00
cmake [lldb/lua] Force Lua version to be 5.3 2021-10-12 21:34:15 +08:00
docs [LLDB][Docs] Indicate `PS1` variable by $ 2021-09-04 20:57:59 +05:30
examples [lldb/Plugins] Add memory region support in ScriptedProcess 2021-10-08 14:54:07 +02:00
include/lldb [lldb] [ABI/X86] Support combining xmm* and ymm*h regs into ymm* 2021-10-19 10:31:07 +02:00
packages/Python Add tests for the other variants of BreakpointCreateBySourceRegex. 2021-10-18 10:59:04 -07:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb] Filter duplicates in Target::GetScratchTypeSystems 2021-10-19 11:49:47 +02:00
test [lldb] Filter duplicates in Target::GetScratchTypeSystems 2021-10-19 11:49:47 +02:00
third_party/Python/module [LLDB] Change pexpect timeout to 30 to 60 2021-08-02 06:34:11 +05:00
tools [lldb] [lldb-server] Refactor ConnectToRemote() 2021-10-18 22:05:01 +02:00
unittests Follow-on to fix a test from c5011aed9c. 2021-10-18 16:53:32 -07:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Replace default bodies of special member functions with = default; 2021-07-02 11:31:16 -07:00
.gitignore
CMakeLists.txt [lldb/lua] Supplement Lua bindings for lldb module 2021-10-12 22:10:21 +08:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py