aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-dwp/Opts.td
blob: c01fa4a12cbafb85496aeac3455feef38abd711e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
include "llvm/Option/OptParser.td"

class F<string name, string help> : Flag<["-", "--"], name>, HelpText<help>;
class S<string name, string help> : Separate<["-", "--"], name>, HelpText<help>;

def help : F<"help", "Display this help">;
def : F<"h", "Alias for --help">, Alias<help>;
def version : F<"version", "Display the version of this program">;

def execFileNames : S<"e", "Specify the executable/library files to get the list of *.dwo from.">, MetaVarName<"<filename>">;
def outputFileName : S<"o", "Specify the output file.">, MetaVarName<"<filename>">;
def continueOnCuIndexOverflow: F<"continue-on-cu-index-overflow", "This turns an error when offset for .debug_*.dwo sections "
                                         "overfolws into a warning.">, MetaVarName<"<filename>">;