SuccessChanges

Summary

  1. [lldb/Interpreter] Fix language detection for the REPL InitFile (details)
  2. [SCCP] Add test where dereferenceable ptr is replaced with un-dereferenceable one (details)
Commit bf8f6e89c8d6fbac3e91ab37de7431d8e7c8aab4 by medismail.bennani
[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>
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp (diff)
Commit ce654f4be085f0039e7c0d2f1e37db25931e56e2 by flo
[SCCP] Add test where dereferenceable ptr is replaced with un-dereferenceable one
The file was addedllvm/test/Transforms/SCCP/replace-dereferenceable-ptr-with-undereferenceable.ll