aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2021-01-20 18:33:00 +0100
committerMed Ismail Bennani <medismail.bennani@gmail.com>2021-01-20 18:53:06 +0100
commit7169d3a315f4cdc19c4ab6b8f20c6f91b46ba9b8 (patch)
tree9858d400e65fa626a41646b63be8617d04069726 /lldb/source/Commands/CommandObjectProcess.cpp
parent4c1eaf26ae70b9f0e441b0f613871d697c4c9a7d (diff)
downloadllvm-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.cpp3
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