xref: /freebsd/contrib/llvm-project/llvm/lib/ToolDrivers/llvm-dlltool/Options.td (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1include "llvm/Option/OptParser.td"
2
3def m: JoinedOrSeparate<["-"], "m">, HelpText<"Set target machine">;
4def m_long : JoinedOrSeparate<["--"], "machine">, Alias<m>;
5
6def l: JoinedOrSeparate<["-"], "l">, HelpText<"Generate an import lib">;
7def l_long : JoinedOrSeparate<["--"], "output-lib">, Alias<l>;
8
9def D: JoinedOrSeparate<["-"], "D">, HelpText<"Specify the input DLL Name">;
10def D_long : JoinedOrSeparate<["--"], "dllname">, Alias<D>;
11
12def d: JoinedOrSeparate<["-"], "d">, HelpText<"Input .def File">;
13def d_long : JoinedOrSeparate<["--"], "input-def">, Alias<d>;
14
15def k: Flag<["-"], "k">, HelpText<"Kill @n Symbol from export">;
16def k_alias: Flag<["--"], "kill-at">, Alias<k>;
17
18//==============================================================================
19// The flags below do nothing. They are defined only for dlltool compatibility.
20//==============================================================================
21
22def S: JoinedOrSeparate<["-"], "S">, HelpText<"Assembler">;
23def S_alias: JoinedOrSeparate<["--"], "as">, Alias<S>;
24
25def f: JoinedOrSeparate<["-"], "f">, HelpText<"Assembler Flags">;
26def f_alias: JoinedOrSeparate<["--"], "as-flags">, Alias<f>;
27