mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
8c2385dd35
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240203 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
824 B
TableGen
24 lines
824 B
TableGen
include "llvm/Option/OptParser.td"
|
|
|
|
// lib.exe accepts options starting with either a dash or a slash.
|
|
|
|
// Flag that takes no arguments.
|
|
class F<string name> : Flag<["/", "-", "-?"], name>;
|
|
|
|
// Flag that takes one argument after ":".
|
|
class P<string name, string help> :
|
|
Joined<["/", "-", "-?"], name#":">, HelpText<help>;
|
|
|
|
def libpath: P<"libpath", "Object file search path">;
|
|
def out : P<"out", "Path to file to write output">;
|
|
|
|
//==============================================================================
|
|
// The flags below do nothing. They are defined only for lib.exe compatibility.
|
|
//==============================================================================
|
|
|
|
class QF<string name> : Joined<["/", "-", "-?"], name#":">;
|
|
|
|
def ignore : QF<"ignore">;
|
|
def machine: QF<"machine">;
|
|
def nologo : F<"nologo">;
|