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