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