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