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