include "llvm/Option/OptParser.td" // output kinds def grp_kind : OptionGroup<"outs">, HelpText<"OUTPUT KIND">; def relocatable : Flag<["-"], "r">, HelpText<"Create relocatable object file">, Group; def static : Flag<["-"], "static">, HelpText<"Create static executable">, Group; def dynamic : Flag<["-"], "dynamic">, HelpText<"Create dynamic executable (default)">,Group; def dylib : Flag<["-"], "dylib">, HelpText<"Create dynamic library">, Group; def bundle : Flag<["-"], "bundle">, HelpText<"Create dynamic bundle">, Group; def execute : Flag<["-"], "execute">, HelpText<"Create main executable (default)">, Group; def preload : Flag<["-"], "preload">, HelpText<"Create binary for use with embedded systems">, Group; // optimizations def grp_opts : OptionGroup<"opts">, HelpText<"OPTIMIZATIONS">; def dead_strip : Flag<["-"], "dead_strip">, HelpText<"Remove unreference code and data">, Group; def macosx_version_min : Separate<["-"], "macosx_version_min">, MetaVarName<"">, HelpText<"Minimum Mac OS X version">, Group; def ios_version_min : Separate<["-"], "ios_version_min">, MetaVarName<"">, HelpText<"Minimum iOS version">, Group; def iphoneos_version_min : Separate<["-"], "iphoneos_version_min">, Alias; def ios_simulator_version_min : Separate<["-"], "ios_simulator_version_min">, MetaVarName<"">, HelpText<"Minimum iOS simulator version">, Group; def sdk_version : Separate<["-"], "sdk_version">, MetaVarName<"">, HelpText<"SDK version">, Group; def source_version : Separate<["-"], "source_version">, MetaVarName<"">, HelpText<"Source version">, Group; def version_load_command : Flag<["-"], "version_load_command">, HelpText<"Force generation of a version load command">, Group; def no_version_load_command : Flag<["-"], "no_version_load_command">, HelpText<"Disable generation of a version load command">, Group; def function_starts : Flag<["-"], "function_starts">, HelpText<"Force generation of a function starts load command">, Group; def no_function_starts : Flag<["-"], "no_function_starts">, HelpText<"Disable generation of a function starts load command">, Group; def data_in_code_info : Flag<["-"], "data_in_code_info">, HelpText<"Force generation of a data in code load command">, Group; def no_data_in_code_info : Flag<["-"], "no_data_in_code_info">, HelpText<"Disable generation of a data in code load command">, Group; def mllvm : Separate<["-"], "mllvm">, MetaVarName<"