HomePhabricator

[lldb/interpreter] Add REPL-specific init file

Authored by mib on Aug 19 2020, 1:04 PM.

Description

[lldb/interpreter] Add REPL-specific init file

This patch adds the infrastructure to have language specific REPL init
files. It's the foundation work to a following patch that will introduce
Swift REPL init file.

When lldb is launched with the --repl option, it will look for a REPL
init file in the home directory and source it. This overrides the
default ~/.lldbinit, which content might make the REPL behave
unexpectedly. If the REPL init file doesn't exists, lldb will fall back
to the default init file.

rdar://65836048

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

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Details

Committed
mibAug 19 2020, 3:36 PM
Differential Revision
D86242: [lldb/interpreter] Add REPL-specific init file
Parents
rG428bebaf10e1: [libFuzzer] Fix value-profile-load test.
Branches
Unknown
Tags
Unknown