1 include "llvm/Option/OptParser.td"
3 // lib.exe accepts options starting with either a dash or a slash.
5 // Flag that takes no arguments.
6 class F<string name> : Flag<["/", "-", "-?"], name>;
8 // Flag that takes one argument after ":".
9 class P<string name, string help> :
10 Joined<["/", "-", "-?"], name#":">, HelpText<help>;
12 def libpath: P<"libpath", "Object file search path">;
13 def out : P<"out", "Path to file to write output">;
15 def llvmlibthin : F<"llvmlibthin">;
17 //==============================================================================
18 // The flags below do nothing. They are defined only for lib.exe compatibility.
19 //==============================================================================
21 class QF<string name> : Joined<["/", "-", "-?"], name#":">;
23 def ignore : QF<"ignore">;
24 def machine: QF<"machine">;
25 def nologo : F<"nologo">;