xref: /freebsd/contrib/llvm-project/llvm/tools/llvm-dwp/Opts.td (revision 02e9120893770924227138ba49df1edb3896112a)
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