brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · d4474ac Raw
34 lines · plain
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 : Flag<["-", "--"], "continue-on-cu-index-overflow">;13def 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">;19 20def dwarf64StringOffsets : Flag<["-", "--"], "dwarf64-str-offsets-promotion">;21def dwarf64StringOffsets_EQ22    : Joined<["-", "--"], "dwarf64-str-offsets-promotion=">,23      HelpText<"default = enabled, This allows .debug_str tables to exceed the "24               "4GB limit\n"25               "and have any DWARF32 .debug_str_offsets tables converted to "26               "DWARF64 only for tables\n"27               "that require 64 bit string offsets. = disabled, This setting "28               "doesn't convert DWARF32\n"29               ".debug_str_offsets tables in .dwo files to DWARF64 in the .dwp "30               "file. = always, This\n"31               "forces all .debug_str_offsets tables to be emitted as DWARF64. "32               "This is used for testing.">,33      Values<"disabled,enabled,always">;34