Store a by name list of signals with their actions in the Target
authorJim Ingham <jingham@apple.com>
Wed, 18 May 2022 21:39:03 +0000 (14:39 -0700)
committerJim Ingham <jingham@apple.com>
Thu, 26 May 2022 21:50:33 +0000 (14:50 -0700)
commit134d7f9a4b97e9035150d970bd9e376043c4577e
tree8ecfa87e6639f75e740c5b9458100d846f18712e
parente267df8ce8d86ba14187b316ad2495afaebe9a44
Store a by name list of signals with their actions in the Target
so that they can be used to prime new Process runs.  "process handle"
was also changed to populate the dummy target if there's no selected
target, so that the settings will get copied into new targets.

Differential Revision: https://reviews.llvm.org/D126259
13 files changed:
lldb/include/lldb/Target/Target.h
lldb/include/lldb/Target/UnixSignals.h
lldb/packages/Python/lldbsuite/test/lldbutil.py
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Commands/Options.td
lldb/source/Target/Process.cpp
lldb/source/Target/Target.cpp
lldb/source/Target/UnixSignals.cpp
lldb/test/API/commands/process/handle/Makefile [new file with mode: 0644]
lldb/test/API/commands/process/handle/TestProcessHandle.py [new file with mode: 0644]
lldb/test/API/commands/process/handle/main.cpp [new file with mode: 0644]
lldb/test/API/functionalities/signal/raise/TestRaise.py
lldb/unittests/Signals/UnixSignalsTest.cpp