[all-commits] [llvm/llvm-project] a37672: Mark the execution of stop-hooks as non-interactive.

jimingham via All-commits all-commits at lists.llvm.org
Thu Oct 29 14:42:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a37672e2db7377681d996834a0c3073c9838a549
      https://github.com/llvm/llvm-project/commit/a37672e2db7377681d996834a0c3073c9838a549
  Author: Jim Ingham <jingham at apple.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbtest.py
    M lldb/source/Interpreter/CommandInterpreter.cpp
    M lldb/source/Target/Target.cpp
    M lldb/test/API/api/multithreaded/TestMultithreaded.py
    A lldb/test/API/api/multithreaded/some_cmd.py
    A lldb/test/API/api/multithreaded/test_stop-hook.cpp.template

  Log Message:
  -----------
  Mark the execution of stop-hooks as non-interactive.

The intention is not to allow stop-hook commands to query the
user, so this is correct.  It also works around a deadlock in
switching to the Python Session to execute python based commands
in the stop hook when the Debugger stdin is backed by a FILE *.

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




More information about the All-commits mailing list