[LoongArch] Add codegen support for multiplication operations
[llvm-project.git] / lldb / tools / lldb-server / LLGSOptions.td
blob429a4671764f371847ab2c9cd2662116e222affe
1 include "llvm/Option/OptParser.td"
3 class F<string name>: Flag<["--", "-"], name>;
4 class R<list<string> prefixes, string name>
5   : Option<prefixes, name, KIND_REMAINING_ARGS>;
7 multiclass SJ<string name, string help> {
8   def NAME: Separate<["--", "-"], name>,
9     HelpText<help>;
10   def NAME # _eq: Joined<["--", "-"], name # "=">,
11     Alias<!cast<Separate>(NAME)>;
14 def grp_connect : OptionGroup<"connection">, HelpText<"CONNECTION">;
16 defm fd: SJ<"fd", "Communicate over the given file descriptor.">,
17   MetaVarName<"<fd>">,
18   Group<grp_connect>;
20 defm named_pipe: SJ<"named-pipe", "Write port lldb-server will listen on to the given named pipe.">,
21   MetaVarName<"<name>">,
22   Group<grp_connect>;
24 defm pipe: SJ<"pipe", "Write port lldb-server will listen on to the given file descriptor.">,
25   MetaVarName<"<fd>">,
26   Group<grp_connect>;
28 def reverse_connect: F<"reverse-connect">,
29   HelpText<"Connect to the client instead of passively waiting for a connection. In this case [host]:port denotes the remote address to connect to.">,
30   Group<grp_connect>;
32 def grp_general : OptionGroup<"general options">, HelpText<"GENERAL OPTIONS">;
34 defm log_channels: SJ<"log-channels", "Channels to log. A colon-separated list of entries. Each entry starts with a channel followed by a space-separated list of categories.">,
35   MetaVarName<"<channel1 categories...:channel2 categories...>">,
36   Group<grp_general>;
38 defm log_file: SJ<"log-file", "Destination file to log to. If empty, log to stderr.">,
39   MetaVarName<"<file>">,
40   Group<grp_general>;
42 def setsid: F<"setsid">, HelpText<"Run lldb-server in a new session.">,
43   Group<grp_general>;
44 def: Flag<["-"], "S">, Alias<setsid>,
45   Group<grp_general>;
47 def help: F<"help">, HelpText<"Prints out the usage information for lldb-server.">,
48   Group<grp_general>;
49 def: Flag<["-"], "h">, Alias<help>,
50   Group<grp_general>;
52 def grp_target : OptionGroup<"target selection">, HelpText<"TARGET SELECTION">;
54 defm attach: SJ<"attach", "Attach to the process given by a (numeric) process id or a name.">,
55   MetaVarName<"<pid-or-name>">,
56   Group<grp_target>;
58 def REM : R<["--"], "">, HelpText<"Launch program for debugging.">,
59   MetaVarName<"program args">,
60   Group<grp_target>;
62 def: F<"native-regs">; // Noop. Present for backwards compatibility only.