include "llvm/Option/OptParser.td" class F: Flag<["--", "-"], name>; def grp_general : OptionGroup<"Dsymutil">, HelpText<"Dsymutil Options">; def help: F<"help">, HelpText<"Prints this help output.">, Group; def: Flag<["-"], "h">, Alias, HelpText<"Alias for --help">, Group; def version: F<"version">, HelpText<"Prints the dsymutil version.">, Group; def: Flag<["-"], "v">, Alias, HelpText<"Alias for --version">, Group; def verbose: F<"verbose">, HelpText<"Enable verbose mode.">, Group; def keep_func_for_static: F<"keep-function-for-static">, HelpText<"Make a static variable keep the enclosing function even if it would have been omitted otherwise.">, Group; def statistics: F<"statistics">, HelpText<"Print statistics about the contribution of each object file to " "the linked debug info. This prints a table after linking with the " "object file name, the size of the debug info in the object file " "(in bytes) and the size contributed (in bytes) to the linked dSYM. " "The table is sorted by the output size listing the object files " "with the largest contribution first.">, Group; def verify: F<"verify">, HelpText<"Run the DWARF verifier on the linked DWARF debug info.">, Group; def no_output: F<"no-output">, HelpText<"Do the link in memory, but do not emit the result file.">, Group; def no_swiftmodule_timestamp: F<"no-swiftmodule-timestamp">, HelpText<"Don't check timestamp for swiftmodule files.">, Group; def no_odr: F<"no-odr">, HelpText<"Do not use ODR (One Definition Rule) for type uniquing.">, Group; def dump_debug_map: F<"dump-debug-map">, HelpText<"Parse and dump the debug map to standard output. Not DWARF link will take place.">, Group; def yaml_input: Flag<["-", "--"], "y">, HelpText<"Treat the input file is a YAML debug map rather than a binary.">, Group; def papertrail: F<"papertrail">, HelpText<"Embed warnings in the linked DWARF debug info.">, Group; def assembly: Flag<["-", "--"], "S">, HelpText<"Output textual assembly instead of a binary dSYM companion file.">, Group; def symtab: F<"symtab">, HelpText<"Dumps the symbol table found in executable or object file(s) and exits.">, Group; def: Flag<["-"], "s">, Alias, HelpText<"Alias for --symtab">, Group; def flat: F<"flat">, HelpText<"Produce a flat dSYM file (not a bundle).">, Group; def: Flag<["-"], "f">, Alias, HelpText<"Alias for --flat">, Group; def update: F<"update">, HelpText<"Updates existing dSYM files to contain the latest accelerator tables and other DWARF optimizations.">, Group; def: Flag<["-"], "u">, Alias, HelpText<"Alias for --update">, Group; def output: Separate<["-", "--"], "o">, MetaVarName<"">, HelpText<"Specify the output file. Defaults to .dwarf">, Group; def: Separate<["--", "-"], "out">, MetaVarName<"">, Alias, HelpText<"Alias for -o">, Group; def: Joined<["--", "-"], "out=">, Alias; def: Joined<["-", "--"], "o=">, Alias; def oso_prepend_path: Separate<["--", "-"], "oso-prepend-path">, MetaVarName<"">, HelpText<"Specify a directory to prepend to the paths of object files.">, Group; def: Joined<["--", "-"], "oso-prepend-path=">, Alias; def object_prefix_map: Separate<["--", "-"], "object-prefix-map">, MetaVarName<"">, HelpText<"Remap object file paths (but no source paths) before processing." "Use this for Clang objects where the module cache location was" "remapped using -fdebug-prefix-map; to help dsymutil" "find the Clang module cache.">, Group; def: Joined<["--", "-"], "object-prefix-map=">, Alias; def symbolmap: Separate<["--", "-"], "symbol-map">, MetaVarName<"">, HelpText<"Updates the existing dSYMs inplace using symbol map specified.">, Group; def: Joined<["--", "-"], "symbol-map=">, Alias; def arch: Separate<["--", "-"], "arch">, MetaVarName<"">, HelpText<"Link DWARF debug information only for specified CPU architecture" "types. This option can be specified multiple times, once for each" "desired architecture. All CPU architectures will be linked by" "default.">, Group; def: Joined<["--", "-"], "arch=">, Alias; def accelerator: Separate<["--", "-"], "accelerator">, MetaVarName<"">, HelpText<"Specify the desired type of accelerator table. Valid options are 'Apple' (.apple_names, .apple_namespaces, .apple_types, .apple_objc), 'Dwarf' (.debug_names), 'Pub' (.debug_pubnames, .debug_pubtypes) and 'Default'">, Group; def: Joined<["--", "-"], "accelerator=">, Alias; def toolchain: Separate<["--", "-"], "toolchain">, MetaVarName<"">, HelpText<"Embed toolchain information in dSYM bundle.">, Group; def threads: Separate<["--", "-"], "num-threads">, MetaVarName<"">, HelpText<"Specifies the maximum number of simultaneous threads to use when linking multiple architectures.">, Group; def: Separate<["-"], "j">, MetaVarName<"">, HelpText<"Alias for --num-threads">, Group; def gen_reproducer: F<"gen-reproducer">, HelpText<"Generate a reproducer consisting of the input object files.">, Group; def use_reproducer: Separate<["--", "-"], "use-reproducer">, MetaVarName<"">, HelpText<"Use the object files from the given reproducer path.">, Group; def: Joined<["--", "-"], "use-reproducer=">, Alias; def remarks_prepend_path: Separate<["--", "-"], "remarks-prepend-path">, MetaVarName<"">, HelpText<"Specify a directory to prepend to the paths of the external remark files.">, Group; def: Joined<["--", "-"], "remarks-prepend-path=">, Alias; def remarks_output_format: Separate<["--", "-"], "remarks-output-format">, MetaVarName<"">, HelpText<"Specify the format to be used when serializing the linked remarks.">, Group; def: Joined<["--", "-"], "remarks-output-format=">, Alias;