[all-commits] [llvm/llvm-project] 1b1d98: Revert "Revert "Add the ability to write target st...

jimingham via All-commits all-commits at lists.llvm.org
Tue Sep 29 12:01:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b1d9815987a753f2f3524cfad050b85972dae5b
      https://github.com/llvm/llvm-project/commit/1b1d9815987a753f2f3524cfad050b85972dae5b
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-09-29 (Tue, 29 Sep 2020)

  Changed paths:
    M lldb/bindings/python/python-swigsafecast.swig
    M lldb/bindings/python/python-wrapper.swig
    M lldb/docs/use/python-reference.rst
    M lldb/include/lldb/Interpreter/ScriptInterpreter.h
    M lldb/include/lldb/Symbol/SymbolContext.h
    M lldb/include/lldb/Target/Target.h
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPythonImpl.h
    M lldb/source/Symbol/SymbolContext.cpp
    M lldb/source/Target/Target.cpp
    A lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
    M lldb/test/API/commands/target/stop-hooks/TestStopHooks.py
    M lldb/test/API/commands/target/stop-hooks/main.c
    A lldb/test/API/commands/target/stop-hooks/stop_hook.py
    A lldb/test/Shell/Commands/Inputs/stop_hook.py
    A lldb/test/Shell/Commands/command-stop-hook-output.test
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

  Log Message:
  -----------
  Revert "Revert "Add the ability to write target stop-hooks using the ScriptInterpreter.""

This reverts commit f775fe59640a2e837ad059a8f40e26989d4f9831.

I fixed a return type error in the original patch that was causing a test failure.
Also added a REQUIRES: python to the shell test so we'll skip this for
people who build lldb w/o Python.
Also added another test for the error printing.




More information about the All-commits mailing list