[all-commits] [llvm/llvm-project] 022473: [lldb/interpreter] Improve REPL init file compatib...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Tue Sep 1 16:22:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0224738c1abdee59923a539204f12c4c99621506
      https://github.com/llvm/llvm-project/commit/0224738c1abdee59923a539204f12c4c99621506
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2020-09-02 (Wed, 02 Sep 2020)

  Changed paths:
    M lldb/docs/man/lldb.rst
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/tools/driver/Driver.cpp

  Log Message:
  -----------
  [lldb/interpreter] Improve REPL init file compatibility

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

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

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




More information about the All-commits mailing list