Skip to content

Commit aaad1a8

Browse files
committed
[lldb] Fix build errors from tablegenify platform commit
Forgot to stage some changes... llvm-svn: 366892
1 parent 2359fec commit aaad1a8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lldb/source/Commands/CommandObjectPlatform.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ static mode_t ParsePermissionString(llvm::StringRef permissions) {
6060

6161
static constexpr OptionDefinition g_permissions_options[] = {
6262
#define LLDB_OPTIONS_permissions
63-
#include "CommandObject.inc"
63+
#include "CommandOptions.inc"
6464
};
6565

6666
class OptionPermissions : public OptionGroup {

lldb/source/Commands/Options.td

+8-8
Original file line numberDiff line numberDiff line change
@@ -430,27 +430,27 @@ let Command = "platform process list" in {
430430
Arg<"RegularExpression">, Required,
431431
Desc<"Find processes with executable basenames that match a regular "
432432
"expression.">;
433-
def platform_process_list_parent : Option<"parent", "P">, OptionRange<2, 6>,
433+
def platform_process_list_parent : Option<"parent", "P">, GroupRange<2, 6>,
434434
Arg<"Pid">, Desc<"Find processes that have a matching parent process ID.">;
435-
def platform_process_list_uid : Option<"uid", "u">, OptionRange<2, 6>,
435+
def platform_process_list_uid : Option<"uid", "u">, GroupRange<2, 6>,
436436
Arg<"UnsignedInteger">,
437437
Desc<"Find processes that have a matching user ID.">;
438-
def platform_process_list_euid : Option<"euid", "U">, OptionRange<2, 6>,
438+
def platform_process_list_euid : Option<"euid", "U">, GroupRange<2, 6>,
439439
Arg<"UnsignedInteger">,
440440
Desc<"Find processes that have a matching effective user ID.">;
441-
def platform_process_list_gid : Option<"gid", "g">, OptionRange<2, 6>,
441+
def platform_process_list_gid : Option<"gid", "g">, GroupRange<2, 6>,
442442
Arg<"UnsignedInteger">,
443443
Desc<"Find processes that have a matching group ID.">;
444-
def platform_process_list_egid : Option<"egid", "G">, OptionRange<2, 6>,
444+
def platform_process_list_egid : Option<"egid", "G">, GroupRange<2, 6>,
445445
Arg<"UnsignedInteger">,
446446
Desc<"Find processes that have a matching effective group ID.">;
447-
def platform_process_list_arch : Option<"arch", "a">, OptionRange<2, 6>,
447+
def platform_process_list_arch : Option<"arch", "a">, GroupRange<2, 6>,
448448
Arg<"Architecture">,
449449
Desc<"Find processes that have a matching architecture.">;
450450
def platform_process_list_show_args : Option<"show-args", "A">,
451-
OptionRange<1, 6>,
451+
GroupRange<1, 6>,
452452
Desc<"Show process arguments instead of the process executable basename.">;
453-
def platform_process_list_verbose : Option<"verbose", "v">, OptionRange<1, 6>,
453+
def platform_process_list_verbose : Option<"verbose", "v">, GroupRange<1, 6>,
454454
Desc<"Enable verbose output.">;
455455
}
456456

0 commit comments

Comments
 (0)