llvm-project/lldb/source
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
..
API [lldb] Remove a stray semicolon, fixing pedantic GCC warnings. NFC. 2020-09-03 11:19:40 +03:00
Breakpoint [lldb][NFC] Use llvm::is_contained instead of std::find in a few places 2020-08-13 14:11:28 +02:00
Commands [lldb] Add reproducer verifier 2020-09-02 22:00:00 -07:00
Core [lldb/Gui] zero-initialize children_stop_id 2020-09-02 20:05:17 -07:00
DataFormatters [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
Expression Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
Host [lldb] Pass -fno-objc-exceptions for objcxx targets 2020-09-02 21:59:48 -07:00
Initialization [lldb] Always record both the working and home directory. 2020-09-02 20:53:11 -07:00
Interpreter [lldb/Interpreter] Fix language detection for the REPL InitFile 2020-09-03 10:57:56 +02:00
Plugins [lldb] Make symbol list output from `image dump symtab` not depend on internal ordering of DenseMap 2020-09-03 10:27:19 +02:00
Symbol [lldb] Fix Type::GetByteSize for pointer types 2020-08-27 15:37:49 +02:00
Target [lldb/Target] Add custom interpreter option to `platform shell` 2020-09-02 16:36:10 +02:00
Utility [lldb] Add reproducer verifier 2020-09-02 22:00:00 -07:00
CMakeLists.txt Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
lldb.cpp [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY 2020-02-20 10:07:50 -08:00