From aaad1a8959d05718fa44c10122ba0ce4d7d3935c Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Wed, 24 Jul 2019 12:08:08 +0000 Subject: [PATCH] [lldb] Fix build errors from tablegenify platform commit Forgot to stage some changes... llvm-svn: 366892 --- lldb/source/Commands/CommandObjectPlatform.cpp | 2 +- lldb/source/Commands/Options.td | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp index 7a4c4fa..d105402 100644 --- a/lldb/source/Commands/CommandObjectPlatform.cpp +++ b/lldb/source/Commands/CommandObjectPlatform.cpp @@ -60,7 +60,7 @@ static mode_t ParsePermissionString(llvm::StringRef permissions) { static constexpr OptionDefinition g_permissions_options[] = { #define LLDB_OPTIONS_permissions -#include "CommandObject.inc" +#include "CommandOptions.inc" }; class OptionPermissions : public OptionGroup { diff --git a/lldb/source/Commands/Options.td b/lldb/source/Commands/Options.td index ba87bd1..cbe183c 100644 --- a/lldb/source/Commands/Options.td +++ b/lldb/source/Commands/Options.td @@ -430,27 +430,27 @@ let Command = "platform process list" in { Arg<"RegularExpression">, Required, Desc<"Find processes with executable basenames that match a regular " "expression.">; - def platform_process_list_parent : Option<"parent", "P">, OptionRange<2, 6>, + def platform_process_list_parent : Option<"parent", "P">, GroupRange<2, 6>, Arg<"Pid">, Desc<"Find processes that have a matching parent process ID.">; - def platform_process_list_uid : Option<"uid", "u">, OptionRange<2, 6>, + def platform_process_list_uid : Option<"uid", "u">, GroupRange<2, 6>, Arg<"UnsignedInteger">, Desc<"Find processes that have a matching user ID.">; - def platform_process_list_euid : Option<"euid", "U">, OptionRange<2, 6>, + def platform_process_list_euid : Option<"euid", "U">, GroupRange<2, 6>, Arg<"UnsignedInteger">, Desc<"Find processes that have a matching effective user ID.">; - def platform_process_list_gid : Option<"gid", "g">, OptionRange<2, 6>, + def platform_process_list_gid : Option<"gid", "g">, GroupRange<2, 6>, Arg<"UnsignedInteger">, Desc<"Find processes that have a matching group ID.">; - def platform_process_list_egid : Option<"egid", "G">, OptionRange<2, 6>, + def platform_process_list_egid : Option<"egid", "G">, GroupRange<2, 6>, Arg<"UnsignedInteger">, Desc<"Find processes that have a matching effective group ID.">; - def platform_process_list_arch : Option<"arch", "a">, OptionRange<2, 6>, + def platform_process_list_arch : Option<"arch", "a">, GroupRange<2, 6>, Arg<"Architecture">, Desc<"Find processes that have a matching architecture.">; def platform_process_list_show_args : Option<"show-args", "A">, - OptionRange<1, 6>, + GroupRange<1, 6>, Desc<"Show process arguments instead of the process executable basename.">; - def platform_process_list_verbose : Option<"verbose", "v">, OptionRange<1, 6>, + def platform_process_list_verbose : Option<"verbose", "v">, GroupRange<1, 6>, Desc<"Enable verbose output.">; } -- 2.7.4