xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/Opts.td (revision 069ac18495ad8fde2748bc94b0f80a50250bb01d)
1include "llvm/Option/OptParser.td"
2
3class F<string name, string help> : Flag<["-", "--"], name>, HelpText<help>;
4class S<string name, string help> : Separate<["-", "--"], name>, HelpText<help>;
5
6def help : F<"help", "Display this help">;
7def : F<"h", "Alias for --help">, Alias<help>;
8def version : F<"version", "Display the version of this program">;
9
10def execFileNames : S<"e", "Specify the executable/library files to get the list of *.dwo from.">, MetaVarName<"<filename>">;
11def outputFileName : S<"o", "Specify the output file.">, MetaVarName<"<filename>">;
12def continueOnCuIndexOverflow: F<"continue-on-cu-index-overflow", "This turns an error when offset for .debug_*.dwo sections "
13                                         "overfolws into a warning.">, MetaVarName<"<filename>">;
14