aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectPlatform.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/CommandObjectPlatform.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/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 3a5af9f..f306da3 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "CommandObjectPlatform.h"
+#include "CommandOptionsProcessLaunch.h"
#include "lldb/Core/Debugger.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/PluginManager.h"
@@ -1083,7 +1084,7 @@ protected:
return result.Succeeded();
}
- ProcessLaunchCommandOptions m_options;
+ CommandOptionsProcessLaunch m_options;
};
// "platform process list"