[all-commits] [llvm/llvm-project] 36eab4: [lldb/Interpreter] Add `interpreter.repeat-previou...

Med Ismail Bennani via All-commits all-commits at lists.llvm.org
Fri Mar 5 10:33:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 36eab4634f4cd4594e6d1409a66bc8f2d8fda04f
      https://github.com/llvm/llvm-project/commit/36eab4634f4cd4594e6d1409a66bc8f2d8fda04f
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2021-03-05 (Fri, 05 Mar 2021)

  Changed paths:
    M lldb/include/lldb/Interpreter/CommandInterpreter.h
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Interpreter/InterpreterProperties.td
    M lldb/test/API/commands/settings/TestSettings.py

  Log Message:
  -----------
  [lldb/Interpreter] Add `interpreter.repeat-previous-command` setting

This patch introduces a new interpreter setting to prevent LLDB from
re-executing the previous command when passing an empty command.

This can be very useful when performing actions that requires a long
time to complete.

To preserve the original behaviour, the setting defaults to `true`.

rdar://74983516

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

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


  Commit: c964741996bcc3550c3598bb7237bd4551b03016
      https://github.com/llvm/llvm-project/commit/c964741996bcc3550c3598bb7237bd4551b03016
  Author: Med Ismail Bennani <medismail.bennani at gmail.com>
  Date:   2021-03-05 (Fri, 05 Mar 2021)

  Changed paths:
    M lldb/bindings/interface/SBCommandInterpreterRunOptions.i
    M lldb/include/lldb/API/SBCommandInterpreterRunOptions.h
    M lldb/source/API/SBCommandInterpreterRunOptions.cpp
    M lldb/test/API/python_api/interpreter/TestRunCommandInterpreterAPI.py

  Log Message:
  -----------
  [lldb/API] Add CommandInterpreter::{Get,Set}PrintErrors to SBAPI (NFC)

This patch exposes the getter and setter methods for the command
interpreter `print_errors` run option.

rdar://74816984

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

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


Compare: https://github.com/llvm/llvm-project/compare/f8b01d54c315...c964741996bc


More information about the All-commits mailing list