[Lldb-commits] [lldb] r366892 - [lldb] Fix build errors from tablegenify platform commit

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 24 05:08:08 PDT 2019


Author: teemperor
Date: Wed Jul 24 05:08:08 2019
New Revision: 366892

URL: http://llvm.org/viewvc/llvm-project?rev=366892&view=rev
Log:
[lldb] Fix build errors from tablegenify platform commit

Forgot to stage some changes...

Modified:
    lldb/trunk/source/Commands/CommandObjectPlatform.cpp
    lldb/trunk/source/Commands/Options.td

Modified: lldb/trunk/source/Commands/CommandObjectPlatform.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectPlatform.cpp?rev=366892&r1=366891&r2=366892&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectPlatform.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectPlatform.cpp Wed Jul 24 05:08:08 2019
@@ -60,7 +60,7 @@ static mode_t ParsePermissionString(llvm
 
 static constexpr OptionDefinition g_permissions_options[] = {
 #define LLDB_OPTIONS_permissions
-#include "CommandObject.inc"
+#include "CommandOptions.inc"
 };
 
 class OptionPermissions : public OptionGroup {

Modified: lldb/trunk/source/Commands/Options.td
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/Options.td?rev=366892&r1=366891&r2=366892&view=diff
==============================================================================
--- lldb/trunk/source/Commands/Options.td (original)
+++ lldb/trunk/source/Commands/Options.td Wed Jul 24 05:08:08 2019
@@ -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.">;
 }
 




More information about the lldb-commits mailing list