llvm-project/lldb
Med Ismail Bennani bf8f6e89c8 [lldb/Interpreter] Fix language detection for the REPL InitFile
Previously, before loading the REPL language-specific init file, lldb
checked the selected target language in which case it returned an unknown
language type with the REPL target.

Instead, the patch calls `Language::GetLanguagesSupportingREPLs` and
look for the first element of that set. In case lldb was not configured
with a REPL language, then, it will just stop sourcing the REPL init
file and fallback to the original logic (continuing with the default
init file).

rdar://65836048

Differential Revision: https://reviews.llvm.org/D87076

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2020-09-03 10:57:56 +02:00
..
bindings [lldb/Target] Add custom interpreter option to `platform shell` 2020-09-02 16:36:10 +02:00
cmake [lldb] Remove redundant call to FindBacktrace (NFC) 2020-08-20 22:41:49 -07:00
docs [lldb/interpreter] Improve REPL init file compatibility 2020-09-02 01:21:22 +02:00
examples Harmonize Python shebang 2020-07-16 21:53:45 +02:00
include/lldb [lldb] Add reproducer verifier 2020-09-02 22:00:00 -07:00
packages/Python Revert de6caf871b and 51128b670d (https://reviews.llvm.org/D84974) 2020-09-02 17:06:48 -07:00
resources
scripts Harmonize Python shebang 2020-07-16 21:53:45 +02:00
source [lldb/Interpreter] Fix language detection for the REPL InitFile 2020-09-03 10:57:56 +02:00
test [lldb] Make symbol list output from `image dump symtab` not depend on internal ordering of DenseMap 2020-09-03 10:27:19 +02:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools [debugserver] Fix that debugserver's stop reply packets always return signal code 0 2020-09-03 09:47:03 +02:00
unittests [Test] Simplify DWARF test cases. NFC. 2020-08-31 14:03:48 +08:00
utils [lldb] Hoist --framework argument out of LLDB_TEST_COMMON_ARGS (NFC) 2020-08-28 18:15:33 -07:00
.clang-format
.clang-tidy [lldb] Add .clang-tidy with customization to disable readability-identifier-naming 2020-03-09 12:50:28 -07:00
.gitignore
CMakeLists.txt Create ${swig_target}-scripts target instead of lldb-python-scripts 2020-08-22 19:36:37 -07:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py