1 include "llvm/Option/OptParser.td"
3 def m: JoinedOrSeparate<["-"], "m">, HelpText<"Set target machine">;
4 def m_long : JoinedOrSeparate<["--"], "machine">, Alias<m>;
6 def l: JoinedOrSeparate<["-"], "l">, HelpText<"Generate an import lib">;
7 def l_long : JoinedOrSeparate<["--"], "output-lib">, Alias<l>;
9 def D: JoinedOrSeparate<["-"], "D">, HelpText<"Specify the input DLL Name">;
10 def D_long : JoinedOrSeparate<["--"], "dllname">, Alias<D>;
12 def d: JoinedOrSeparate<["-"], "d">, HelpText<"Input .def File">;
13 def d_long : JoinedOrSeparate<["--"], "input-def">, Alias<d>;
15 def N: JoinedOrSeparate<["-"], "N">, HelpText<"Input native .def File on ARM64EC">;
16 def N_long : JoinedOrSeparate<["--"], "input-native-def">, Alias<N>;
18 def k: Flag<["-"], "k">, HelpText<"Kill @n Symbol from export">;
19 def k_alias: Flag<["--"], "kill-at">, Alias<k>;
21 def no_leading_underscore: Flag<["--"], "no-leading-underscore">,
22 HelpText<"Don't add leading underscores on symbols">;
24 //==============================================================================
25 // The flags below do nothing. They are defined only for dlltool compatibility.
26 //==============================================================================
28 def S: JoinedOrSeparate<["-"], "S">, HelpText<"Assembler">;
29 def S_alias: JoinedOrSeparate<["--"], "as">, Alias<S>;
31 def f: JoinedOrSeparate<["-"], "f">, HelpText<"Assembler Flags">;
32 def f_alias: JoinedOrSeparate<["--"], "as-flags">, Alias<f>;
34 def t: JoinedOrSeparate<["-"], "t">, HelpText<"Prefix for temporary files (ignored)">;
35 def t_alias: JoinedOrSeparate<["--"], "temp-prefix">, Alias<t>;