1 include "llvm/Option/OptParser.td"
3 class F<string name, string help> : Flag<["-", "--"], name>, HelpText<help>;
4 class S<string name, string help> : Separate<["-", "--"], name>, HelpText<help>;
6 def help : F<"help", "Display this help">;
7 def : F<"h", "Alias for --help">, Alias<help>;
8 def version : F<"version", "Display the version of this program">;
10 def execFileNames : S<"e", "Specify the executable/library files to get the list of *.dwo from.">, MetaVarName<"<filename>">;
11 def outputFileName : S<"o", "Specify the output file.">, MetaVarName<"<filename>">;
12 def continueOnCuIndexOverflow : Flag<["-", "--"], "continue-on-cu-index-overflow">;
13 def continueOnCuIndexOverflow_EQ : Joined<["-", "--"], "continue-on-cu-index-overflow=">,
14 HelpText<"default = continue, This turns an error when offset \n"
15 "\t\tfor .debug_*.dwo sections overfolws into a warning. = soft-stop, This produces a \n"
16 "\t\ttruncated but valid DWP file, discarding any DWO files that would not fit within \n"
17 "\t\tthe 32 bit/4GB limits of the format.">,
18 Values<"continue,soft-stop">;