mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
f82375c972
I will send an entry in docs/CommandGuide for review today. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242533 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
861 B
TableGen
26 lines
861 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">;
|
|
|
|
def llvmlibthin : F<"llvmlibthin">;
|
|
|
|
//==============================================================================
|
|
// 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">;
|