diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-03 15:27:07 -0800 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2023-03-03 19:33:02 -0800 |
commit | 3014a1c5a130daeb73f6d3b7280c5ceaeadc66a8 (patch) | |
tree | 974442f6679db5d845094e5813bc982e1bff20e7 /lldb/source/Interpreter/ScriptInterpreter.cpp | |
parent | 2d5348be2561402e284e26a9adf3a2e28e70c1f5 (diff) | |
download | llvm-3014a1c5a130daeb73f6d3b7280c5ceaeadc66a8.zip llvm-3014a1c5a130daeb73f6d3b7280c5ceaeadc66a8.tar.gz llvm-3014a1c5a130daeb73f6d3b7280c5ceaeadc66a8.tar.bz2 |
[lldb] Add scripted process launch/attach option to {,platform }process commands
This patch does several things:
First, it refactors the `CommandObject{,Platform}ProcessObject` command
option class into a separate `CommandOptionsProcessAttach` option group.
This will make sure both the `platform process attach` and `process attach`
command options will always stay in sync without having with duplicate
them each time. But more importantly, making this class an `OptionGroup`
allows us to combine with a `OptionGroupPythonClassWithDict` to add
support for the scripted process managing class name and user-provided
dictionary options.
This patch also improves feature parity between `ProcessLaunchInfo` and
`ProcessAttachInfo` with regard to ScriptedProcesses, by exposing the
various getters and setters necessary to use them through the SBAPI.
This is foundation work for adding support to "attach" to a process from
the scripted platform.
Differential Revision: https://reviews.llvm.org/D139945
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreter.cpp')
0 files changed, 0 insertions, 0 deletions