diff options
author | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-01-20 18:33:00 +0100 |
---|---|---|
committer | Med Ismail Bennani <medismail.bennani@gmail.com> | 2021-01-20 18:53:06 +0100 |
commit | 7169d3a315f4cdc19c4ab6b8f20c6f91b46ba9b8 (patch) | |
tree | 9858d400e65fa626a41646b63be8617d04069726 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 4c1eaf26ae70b9f0e441b0f613871d697c4c9a7d (diff) | |
download | llvm-7169d3a315f4cdc19c4ab6b8f20c6f91b46ba9b8.zip llvm-7169d3a315f4cdc19c4ab6b8f20c6f91b46ba9b8.tar.gz llvm-7169d3a315f4cdc19c4ab6b8f20c6f91b46ba9b8.tar.bz2 |
[lldb/Commands] Refactor ProcessLaunchCommandOptions to use TableGen (NFC)
This patch refactors the current implementation of
`ProcessLaunchCommandOptions` to be generated by TableGen.
The patch also renames the class to `CommandOptionsProcessLaunch` to
align better with the rest of the codebase style and moves it to
separate files.
Differential Review: https://reviews.llvm.org/D95059
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 1eef280..35835f6 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// #include "CommandObjectProcess.h" +#include "CommandOptionsProcessLaunch.h" #include "lldb/Breakpoint/Breakpoint.h" #include "lldb/Breakpoint/BreakpointLocation.h" #include "lldb/Breakpoint/BreakpointSite.h" @@ -251,7 +252,7 @@ protected: return result.Succeeded(); } - ProcessLaunchCommandOptions m_options; + CommandOptionsProcessLaunch m_options; }; #define LLDB_OPTIONS_process_attach |