Page MenuHomePhabricator

[lldb/interpreter] Improve REPL init file compatibility
ClosedPublic

Authored by mib on Sep 1 2020, 3:59 PM.

Details

Summary

This patch changes the command interpreter sourcing logic for the REPL
init file. Instead of looking for a arbitrary file name, it standardizes
the REPL init file name to match to following scheme:

`.lldbinit-<language>-repl`

This will make the naming more homogenous and the sourcing logic future-proof.

rdar://65836048

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

Diff Detail

Event Timeline

mib created this revision.Sep 1 2020, 3:59 PM
mib requested review of this revision.Sep 1 2020, 3:59 PM
mib updated this revision to Diff 289307.Sep 1 2020, 4:15 PM
JDevlieghere accepted this revision.Sep 1 2020, 4:16 PM
This revision is now accepted and ready to land.Sep 1 2020, 4:16 PM
This revision was landed with ongoing or failed builds.Sep 1 2020, 4:21 PM
This revision was automatically updated to reflect the committed changes.