[all-commits] [llvm/llvm-project] 156251: [lldb/ScriptInterpreter] Remove can_reload which i...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sun Dec 22 21:36:08 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1562511275fe1f002458194c085216cf9ae36d1f
      https://github.com/llvm/llvm-project/commit/1562511275fe1f002458194c085216cf9ae36d1f
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2019-12-22 (Sun, 22 Dec 2019)

  Changed paths:
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/source/Commands/CommandObjectCommands.cpp
    M lldb/source/Core/Module.cpp
    M lldb/source/Interpreter/ScriptInterpreter.cpp
    M lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h

  Log Message:
  -----------
  [lldb/ScriptInterpreter] Remove can_reload which is always true (NFC)

The `-r` option for `command script import` is there for legacy
compatibility, however the can_reload flag is always set to true. This
patch removes the flag and any code that relies on it being false.




More information about the All-commits mailing list