annotate lld/MachO/Options.td @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 0572611fdcc8
children 5f17cb93ff66
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 include "llvm/Option/OptParser.td"
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
3 // Flags that lld/MachO understands but ld64 doesn't. These take
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
4 // '--' instead of '-' and use dashes instead of underscores, so
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
5 // they don't collide with the ld64 compat options.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
6 def grp_lld : OptionGroup<"kind">, HelpText<"LLD-SPECIFIC">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
7
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
8 def help : Flag<["-", "--"], "help">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
9 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
10 def help_hidden : Flag<["--"], "help-hidden">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
11 HelpText<"Display help for hidden options">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
12 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
13 def verbose : Flag<["--"], "verbose">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
14 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
15 def error_limit_eq : Joined<["--"], "error-limit=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
16 HelpText<"Maximum number of errors to print before exiting (default: 20)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
17 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
18 def color_diagnostics: Flag<["--"], "color-diagnostics">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
19 HelpText<"Alias for --color-diagnostics=always">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
20 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
21 def no_color_diagnostics: Flag<["--"], "no-color-diagnostics">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
22 HelpText<"Alias for --color-diagnostics=never">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
23 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
24 def color_diagnostics_eq: Joined<["--"], "color-diagnostics=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
25 HelpText<"Use colors in diagnostics (default: auto)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
26 MetaVarName<"[auto,always,never]">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
27 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
28 def threads_eq : Joined<["--"], "threads=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
29 HelpText<"Number of threads. '1' disables multi-threading. By default all available hardware threads are used">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
30 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
31 def thinlto_jobs_eq : Joined<["--"], "thinlto-jobs=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
32 HelpText<"Number of ThinLTO jobs. Default to --threads=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
33 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
34 def reproduce: Separate<["--"], "reproduce">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
35 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
36 def reproduce_eq: Joined<["--"], "reproduce=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
37 Alias<!cast<Separate>(reproduce)>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
38 HelpText<"Write tar file containing inputs and command to reproduce link">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
39 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
40 def version: Flag<["--"], "version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
41 HelpText<"Display the version number and exit">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
42 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
43 def lto_legacy_pass_manager: Flag<["--"], "lto-legacy-pass-manager">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
44 HelpText<"Use the legacy pass manager in LLVM">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
45 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
46 def no_lto_legacy_pass_manager : Flag<["--"], "no-lto-legacy-pass-manager">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
47 HelpText<"Use the new pass manager in LLVM">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
48 Group<grp_lld>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
49 def time_trace: Flag<["--"], "time-trace">, HelpText<"Record time trace">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
50 def time_trace_granularity_eq: Joined<["--"], "time-trace-granularity=">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
51 HelpText<"Minimum time granularity (in microseconds) traced by time profiler">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
52 def time_trace_file_eq: Joined<["--"], "time-trace-file=">, HelpText<"Specify time trace output file">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
53
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
54 // This is a complete Options.td compiled from Apple's ld(1) manpage
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
55 // dated 2018-03-07 and cross checked with ld64 source code in repo
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
56 // https://github.com/apple-opensource/ld64 at git tag "512.4" dated
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
57 // 2018-03-18.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
58
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
59 // Flags<[HelpHidden]> marks options that are not yet ported to lld,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
60 // and serve as a scoreboard for annotating our progress toward
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
61 // implementing ld64 options in lld. As you add implementions to
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
62 // Driver.cpp, please remove the hidden flag here.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
63
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
64 def grp_kind : OptionGroup<"kind">, HelpText<"OUTPUT KIND">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
65
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
66 def execute : Flag<["-"], "execute">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
67 HelpText<"Produce a main executable (default)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
68 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
69 def dylib : Flag<["-"], "dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
70 HelpText<"Produce a shared library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
71 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
72 def bundle : Flag<["-"], "bundle">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
73 HelpText<"Produce a bundle">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
74 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
75 def r : Flag<["-"], "r">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
76 HelpText<"Merge multiple object files into one, retaining relocations">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
77 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
78 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
79 def dylinker : Flag<["-"], "dylinker">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
80 HelpText<"Produce a dylinker only used when building dyld">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
81 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
82 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
83 def dynamic : Flag<["-"], "dynamic">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
84 HelpText<"Link dynamically (default)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
85 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
86 def static : Flag<["-"], "static">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
87 HelpText<"Link statically">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
88 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
89 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
90 def preload : Flag<["-"], "preload">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
91 HelpText<"Produce an unsegmented binary for embedded systems">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
92 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
93 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
94 def arch : Separate<["-"], "arch">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
95 MetaVarName<"<arch_name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
96 HelpText<"The architecture (e.g. ppc, ppc64, i386, x86_64)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
97 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
98 def o : Separate<["-"], "o">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
99 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
100 HelpText<"The name of the output file (default: `a.out')">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
101 Group<grp_kind>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
102
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
103 def grp_libs : OptionGroup<"libs">, HelpText<"LIBRARIES">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
104
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
105 def l : Joined<["-"], "l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
106 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
107 HelpText<"Search for lib<name>.dylib or lib<name>.a on the library search path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
108 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
109 def weak_l : Joined<["-"], "weak-l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
110 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
111 HelpText<"Like -l<name>, but mark library and its references as weak imports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
112 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
113 def weak_library : Separate<["-"], "weak_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
114 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
115 HelpText<"Like bare <path>, but mark library and its references as weak imports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
116 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
117 def needed_l : Joined<["-"], "needed-l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
118 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
119 HelpText<"Like -l<name>, but link library even if its symbols are not used and -dead_strip_dylibs is active">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
120 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
121 def needed_library : Separate<["-"], "needed_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
122 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
123 HelpText<"Like bare <path>, but link library even if its symbols are not used and -dead_strip_dylibs is active">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
124 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
125 def reexport_l : Joined<["-"], "reexport-l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
126 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
127 HelpText<"Like -l<name>, but export all symbols of <name> from newly created library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
128 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
129 def reexport_library : Separate<["-"], "reexport_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
130 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
131 HelpText<"Like bare <path>, but export all symbols of <path> from newly created library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
132 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
133 def upward_l : Joined<["-"], "upward-l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
134 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
135 HelpText<"Like -l<name>, but specify dylib as an upward dependency">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
136 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
137 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
138 def upward_library : Separate<["-"], "upward_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
139 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
140 HelpText<"Like bare <path>, but specify dylib as an upward dependency">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
141 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
142 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
143 def L : JoinedOrSeparate<["-"], "L">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
144 MetaVarName<"<dir>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
145 HelpText<"Add dir to the library search path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
146 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
147 def Z : Flag<["-"], "Z">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
148 HelpText<"Remove standard directories from the library and framework search paths">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
149 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
150 def syslibroot : Separate<["-"], "syslibroot">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
151 MetaVarName<"<rootdir>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
152 HelpText<"Prepend <rootdir> to all library and framework search paths">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
153 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
154 def search_paths_first : Flag<["-"], "search_paths_first">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
155 HelpText<"Search for lib<name>.dylib and lib<name>.a at each step in traversing search path (default for Xcode 4 and later)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
156 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
157 def search_dylibs_first : Flag<["-"], "search_dylibs_first">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
158 HelpText<"Search for lib<name>.dylib on first pass, then for lib<name>.a on second pass through search path (default for Xcode 3 and earlier)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
159 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
160 def framework : Separate<["-"], "framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
161 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
162 HelpText<"Search for <name>.framework/<name> on the framework search path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
163 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
164 def weak_framework : Separate<["-"], "weak_framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
165 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
166 HelpText<"Like -framework <name>, but mark framework and its references as weak imports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
167 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
168 def needed_framework : Separate<["-"], "needed_framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
169 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
170 HelpText<"Like -framework <name>, but link <name> even if none of its symbols are used and -dead_strip_dylibs is active">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
171 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
172 def reexport_framework : Separate<["-"], "reexport_framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
173 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
174 HelpText<"Like -framework <name>, but export all symbols of <name> from the newly created library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
175 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
176 def upward_framework : Separate<["-"], "upward_framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
177 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
178 HelpText<"Like -framework <name>, but specify the framework as an upward dependency">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
179 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
180 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
181 def F : JoinedOrSeparate<["-"], "F">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
182 MetaVarName<"<dir>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
183 HelpText<"Add dir to the framework search path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
184 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
185 def all_load : Flag<["-"], "all_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
186 HelpText<"Load all members of all static archive libraries">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
187 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
188 def ObjC : Flag<["-"], "ObjC">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
189 HelpText<"Load all members of static archives that are an Objective-C class or category.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
190 Group<grp_libs>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
191 def force_load : Separate<["-"], "force_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
192 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
193 HelpText<"Load all members static archive library at <path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
194 Group<grp_libs>;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
195
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
196 def grp_content : OptionGroup<"content">, HelpText<"ADDITIONAL CONTENT">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
197
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
198 def sectcreate : MultiArg<["-"], "sectcreate", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
199 MetaVarName<"<segment> <section> <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
200 HelpText<"Create <section> in <segment> from the contents of <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
201 Group<grp_content>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
202 def segcreate : MultiArg<["-"], "segcreate", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
203 MetaVarName<"<segment> <section> <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
204 Alias<sectcreate>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
205 HelpText<"Alias for -sectcreate">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
206 Group<grp_content>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
207 def filelist : Separate<["-"], "filelist">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
208 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
209 HelpText<"Read names of files to link from <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
210 Group<grp_content>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
211 def dtrace : Separate<["-"], "dtrace">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
212 MetaVarName<"<script>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
213 HelpText<"Enable DTrace static probes according to declarations in <script>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
214 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
215 Group<grp_content>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
216
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
217 def grp_opts : OptionGroup<"opts">, HelpText<"OPTIMIZATIONS">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
218
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
219 def dead_strip : Flag<["-"], "dead_strip">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
220 HelpText<"Remove unreachable functions and data">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
221 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
222 def order_file : Separate<["-"], "order_file">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
223 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
224 HelpText<"Layout functions and data according to specification in <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
225 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
226 def no_order_inits : Flag<["-"], "no_order_inits">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
227 HelpText<"Disable default reordering of initializer and terminator functions">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
228 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
229 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
230 def no_order_data : Flag<["-"], "no_order_data">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
231 HelpText<"Disable default reordering of global data accessed at launch time">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
232 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
233 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
234 def image_base : Separate<["-"], "image_base">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
235 MetaVarName<"<address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
236 HelpText<"Preferred hex load address for a dylib or bundle.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
237 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
238 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
239 def seg1addr : Separate<["-"], "seg1addr">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
240 MetaVarName<"<address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
241 Alias<image_base>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
242 HelpText<"Alias for -image_base">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
243 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
244 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
245 def no_implicit_dylibs : Flag<["-"], "no_implicit_dylibs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
246 HelpText<"Do not optimize public dylib transitive symbol references">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
247 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
248 def exported_symbols_order : Separate<["-"], "exported_symbols_order">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
249 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
250 HelpText<"Specify frequently-used symbols in <file> to optimize symbol exports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
251 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
252 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
253 def no_zero_fill_sections : Flag<["-"], "no_zero_fill_sections">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
254 HelpText<"Explicitly store zeroed data in the final image">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
255 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
256 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
257 def merge_zero_fill_sections : Flag<["-"], "merge_zero_fill_sections">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
258 HelpText<"Merge all zeroed data into the __zerofill section">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
259 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
260 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
261 def no_branch_islands : Flag<["-"], "no_branch_islands">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
262 HelpText<"Disable infra for branches beyond the maximum branch distance.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
263 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
264 Group<grp_opts>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
265
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
266 def grp_version : OptionGroup<"version">, HelpText<"VERSION TARGETING">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
267
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
268 def platform_version : MultiArg<["-"], "platform_version", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
269 MetaVarName<"<platform> <min_version> <sdk_version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
270 HelpText<"Platform (e.g., macos, ios, tvos, watchos, bridgeos, mac-catalyst, ios-sim, tvos-sim, watchos-sim, driverkit) and version numbers">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
271 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
272 def sdk_version : Separate<["-"], "sdk_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
273 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
274 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
275 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
276 def macos_version_min : Separate<["-"], "macos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
277 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
278 HelpText<"Oldest macOS version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
279 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
280 def macosx_version_min : Separate<["-"], "macosx_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
281 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
282 Alias<macos_version_min>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
283 HelpText<"Alias for -macos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
284 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
285 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
286 def ios_version_min : Separate<["-"], "ios_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
287 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
288 HelpText<"Oldest iOS version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
289 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
290 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
291 def ios_simulator_version_min : Separate<["-"], "ios_simulator_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
292 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
293 HelpText<"Oldest iOS simulator version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
294 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
295 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
296 def iphoneos_version_min : Separate<["-"], "iphoneos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
297 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
298 Alias<ios_version_min>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
299 HelpText<"Alias for -ios_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
300 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
301 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
302 def maccatalyst_version_min : Separate<["-"], "maccatalyst_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
303 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
304 HelpText<"Oldest MacCatalyst version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
305 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
306 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
307 def iosmac_version_min : Separate<["-"], "iosmac_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
308 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
309 Alias<maccatalyst_version_min>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
310 HelpText<"Alias for -maccatalyst_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
311 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
312 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
313 def uikitformac_version_min : Separate<["-"], "uikitformac_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
314 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
315 Alias<maccatalyst_version_min>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
316 HelpText<"Alias for -maccatalyst_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
317 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
318 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
319 def tvos_version_min : Separate<["-"], "tvos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
320 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
321 HelpText<"Oldest tvOS version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
322 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
323 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
324 def watchos_version_min : Separate<["-"], "watchos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
325 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
326 HelpText<"Oldest watchOS version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
327 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
328 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
329 def bridgeos_version_min : Separate<["-"], "bridgeos_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
330 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
331 HelpText<"Oldest bridgeOS version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
332 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
333 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
334 def driverkit_version_min : Separate<["-"], "driverkit_version_min">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
335 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
336 HelpText<"Oldest DriverKit version for which linked output is usable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
337 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
338 Group<grp_version>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
339
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
340 def grp_dylib : OptionGroup<"dylib">, HelpText<"DYNAMIC LIBRARIES (DYLIB)">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
341
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
342 def install_name : Separate<["-"], "install_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
343 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
344 HelpText<"Set an internal install path in a dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
345 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
346 def dylib_install_name : Separate<["-"], "dylib_install_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
347 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
348 Alias<install_name>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
349 HelpText<"Alias for -install_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
350 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
351 def dylinker_install_name : Separate<["-"], "dylinker_install_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
352 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
353 Alias<install_name>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
354 HelpText<"Alias for -install_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
355 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
356 def mark_dead_strippable_dylib : Flag<["-"], "mark_dead_strippable_dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
357 HelpText<"Mark output dylib as dead-strippable: When a client links against it but does not use any of its symbols, the dylib will not be added to the client's list of needed dylibs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
358 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
359 def compatibility_version : Separate<["-"], "compatibility_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
360 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
361 HelpText<"Compatibility <version> of this library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
362 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
363 def dylib_compatibility_version : Separate<["-"], "dylib_compatibility_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
364 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
365 Alias<compatibility_version>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
366 HelpText<"Alias for -compatibility_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
367 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
368 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
369 def current_version : Separate<["-"], "current_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
370 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
371 HelpText<"Current <version> of this library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
372 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
373 def dylib_current_version : Separate<["-"], "dylib_current_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
374 MetaVarName<"<version>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
375 Alias<current_version>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
376 HelpText<"Alias for -current_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
377 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
378 Group<grp_dylib>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
379
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
380 def grp_main : OptionGroup<"main">, HelpText<"MAIN EXECUTABLE">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
381
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
382 def pie : Flag<["-"], "pie">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
383 HelpText<"Build a position independent executable (default)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
384 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
385 def no_pie : Flag<["-"], "no_pie">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
386 HelpText<"Do not build a position independent executable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
387 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
388 def pagezero_size : Separate<["-"], "pagezero_size">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
389 MetaVarName<"<size>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
390 HelpText<"Size of unreadable segment at address zero is hex <size> (default is 4KB on 32-bit and 4GB on 64-bit)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
391 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
392 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
393 def stack_size : Separate<["-"], "stack_size">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
394 MetaVarName<"<size>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
395 HelpText<"Maximum hex stack size for the main thread in a program. (default is 8MB)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
396 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
397 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
398 def allow_stack_execute : Flag<["-"], "allow_stack_execute">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
399 HelpText<"Mark stack segment as executable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
400 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
401 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
402 def export_dynamic : Flag<["-"], "export_dynamic">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
403 HelpText<"Preserve all global symbols during LTO">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
404 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
405 Group<grp_main>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
406
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
407 def grp_bundle : OptionGroup<"bundle">, HelpText<"CREATING A BUNDLE">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
408
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
409 def bundle_loader : Separate<["-"], "bundle_loader">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
410 MetaVarName<"<executable>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
411 HelpText<"Resolve undefined symbols from <executable>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
412 Group<grp_bundle>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
413
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
414 def grp_object : OptionGroup<"object">, HelpText<"CREATING AN OBJECT FILE">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
415
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
416 def keep_private_externs : Flag<["-"], "keep_private_externs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
417 HelpText<"Do not convert private external symbols to static symbols (only valid with -r)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
418 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
419 Group<grp_object>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
420 def d : Flag<["-"], "d">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
421 HelpText<"Force tentative into real definitions for common symbols">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
422 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
423 Group<grp_object>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
424
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
425 def grp_resolve : OptionGroup<"resolve">, HelpText<"SYMBOL RESOLUTION">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
426
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
427 def exported_symbol : Separate<["-"], "exported_symbol">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
428 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
429 HelpText<"<symbol> remains global, while others become private externs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
430 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
431 def exported_symbols_list : Separate<["-"], "exported_symbols_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
432 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
433 HelpText<"Symbols specified in <file> remain global, while others become private externs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
434 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
435 def unexported_symbol : Separate<["-"], "unexported_symbol">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
436 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
437 HelpText<"Global <symbol> becomes private extern">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
438 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
439 def unexported_symbols_list : Separate<["-"], "unexported_symbols_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
440 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
441 HelpText<"Global symbols specified in <file> become private externs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
442 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
443 def reexported_symbols_list : Separate<["-"], "reexported_symbols_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
444 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
445 HelpText<"Symbols from dependent dylibs specified in <file> are reexported by this dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
446 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
447 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
448 def alias : MultiArg<["-"], "alias", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
449 MetaVarName<"<symbol_name> <alternate_name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
450 HelpText<"Create a symbol alias with default global visibility">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
451 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
452 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
453 def alias_list : Separate<["-"], "alias_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
454 MetaVarName<"<file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
455 HelpText<"Create symbol aliases specified in <file>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
456 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
457 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
458 def flat_namespace : Flag<["-"], "flat_namespace">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
459 HelpText<"Resolve symbols from all dylibs, both direct and transitive. Do not record source libraries: dyld must re-search at runtime and use the first definition found">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
460 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
461 def twolevel_namespace : Flag<["-"], "twolevel_namespace">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
462 HelpText<"Make dyld look up symbols by (dylib,name) pairs (default)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
463 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
464 def u : Separate<["-"], "u">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
465 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
466 HelpText<"Require that <symbol> be defined for the link to succeed">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
467 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
468 def U : Separate<["-"], "U">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
469 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
470 HelpText<"Allow <symbol> to have no definition">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
471 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
472 def undefined : Separate<["-"], "undefined">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
473 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
474 HelpText<"Handle undefined symbols according to <treatment>: error, warning, suppress, or dynamic_lookup (default is error)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
475 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
476 def rpath : Separate<["-"], "rpath">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
477 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
478 HelpText<"Add <path> to dyld search list for dylibs with load path prefix `@rpath/'">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
479 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
480 def commons : Separate<["-"], "commons">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
481 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
482 HelpText<"Resolve tentative definitions in dylibs according to <treatment>: ignore_dylibs, use_dylibs, error (default is ignore_dylibs)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
483 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
484 Group<grp_resolve>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
485
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
486 def grp_introspect : OptionGroup<"introspect">, HelpText<"INTROSPECTING THE LINKER">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
487
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
488 def why_load : Flag<["-"], "why_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
489 HelpText<"Log why each object file is loaded from a static library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
490 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
491 def whyload : Flag<["-"], "whyload">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
492 Alias<why_load>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
493 HelpText<"Alias for -why_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
494 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
495 def why_live : Separate<["-"], "why_live">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
496 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
497 HelpText<"Log a chain of references to <symbol>, for use with -dead_strip">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
498 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
499 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
500 def print_statistics : Flag<["-"], "print_statistics">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
501 HelpText<"Log the linker's memory and CPU usage">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
502 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
503 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
504 def t : Flag<["-"], "t">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
505 HelpText<"Log every file the linker loads: object, archive, and dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
506 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
507 def whatsloaded : Flag<["-"], "whatsloaded">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
508 HelpText<"Logs only the object files the linker loads">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
509 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
510 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
511 def order_file_statistics : Flag<["-"], "order_file_statistics">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
512 HelpText<"Logs information about -order_file">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
513 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
514 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
515 def map : Separate<["-"], "map">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
516 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
517 HelpText<"Writes all symbols and their addresses to <path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
518 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
519 def dependency_info : Separate<["-"], "dependency_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
520 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
521 HelpText<"Dump dependency info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
522 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
523 def save_temps : Flag<["-"], "save-temps">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
524 HelpText<"Save intermediate LTO compilation results">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
525 Group<grp_introspect>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
526
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
527 def grp_symtab : OptionGroup<"symtab">, HelpText<"SYMBOL TABLE">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
528
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
529 def S : Flag<["-"], "S">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
530 HelpText<"Strip debug information (STABS or DWARF) from the output">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
531 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
532 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
533 def x : Flag<["-"], "x">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
534 HelpText<"Exclude non-global symbols from the output symbol table">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
535 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
536 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
537 def non_global_symbols_strip_list : Separate<["-"], "non_global_symbols_strip_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
538 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
539 HelpText<"Specify in <path> the non-global symbols that should be removed from the output symbol table">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
540 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
541 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
542 def non_global_symbols_no_strip_list : Separate<["-"], "non_global_symbols_no_strip_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
543 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
544 HelpText<"Specify in <path> the non-global symbols that should remain in the output symbol table">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
545 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
546 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
547 def oso_prefix : Separate<["-"], "oso_prefix">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
548 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
549 HelpText<"Remove the prefix <path> from OSO symbols in the debug map">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
550 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
551 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
552 def add_ast_path : Separate<["-"], "add_ast_path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
553 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
554 HelpText<"AST paths will be emitted as STABS">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
555 Group<grp_symtab>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
556
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
557 def grp_bitcode : OptionGroup<"bitcode">, HelpText<"BITCODE BUILD FLOW">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
558
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
559 def bitcode_bundle : Flag<["-"], "bitcode_bundle">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
560 HelpText<"Generate an embedded bitcode bundle in the __LLVM,__bundle section of the output">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
561 Group<grp_bitcode>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
562 def bitcode_hide_symbols : Flag<["-"], "bitcode_hide_symbols">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
563 HelpText<"With -bitcode_bundle, hide all non-exported symbols from output bitcode bundle.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
564 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
565 Group<grp_bitcode>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
566 def bitcode_symbol_map : Separate<["-"], "bitcode_symbol_map">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
567 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
568 HelpText<"Write the bitcode symbol reverse mapping to file <path>, or if a directory, to <path>/UUID.bcsymbolmap">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
569 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
570 Group<grp_bitcode>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
571
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
572 def grp_rare : OptionGroup<"rare">, HelpText<"RARELY USED">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
573
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
574 def v : Flag<["-"], "v">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
575 HelpText<"Print the linker version and search paths in addition to linking">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
576 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
577 def adhoc_codesign : Flag<["-"], "adhoc_codesign">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
578 HelpText<"Write an ad-hoc code signature to the output file (default for arm64 binaries)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
579 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
580 def no_adhoc_codesign : Flag<["-"], "no_adhoc_codesign">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
581 HelpText<"Do not write an ad-hoc code signature to the output file (default for x86_64 binaries)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
582 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
583 def version_details : Flag<["-"], "version_details">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
584 HelpText<"Print the linker version in JSON form">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
585 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
586 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
587 def no_weak_imports : Flag<["-"], "no_weak_imports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
588 HelpText<"Fail if any symbols are weak imports, allowed to be NULL at runtime">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
589 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
590 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
591 def no_deduplicate : Flag<["-"], "no_deduplicate">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
592 HelpText<"Omit the deduplication pass">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
593 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
594 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
595 def verbose_deduplicate : Flag<["-"], "verbose_deduplicate">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
596 HelpText<"Print function names eliminated by deduplication and the total size of code savings">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
597 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
598 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
599 def no_inits : Flag<["-"], "no_inits">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
600 HelpText<"Fail if the output contains static initializers">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
601 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
602 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
603 def no_warn_inits : Flag<["-"], "no_warn_inits">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
604 HelpText<"Suppress warnings for static initializers in the output">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
605 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
606 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
607 def debug_variant : Flag<["-"], "debug_variant">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
608 HelpText<"Suppress warnings germane to binaries shipping to customers">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
609 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
610 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
611 def unaligned_pointers : Separate<["-"], "unaligned_pointers">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
612 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
613 HelpText<"Handle unaligned pointers in __DATA segments according to <treatment>: warning, error, or suppress (default for arm64e is error, otherwise suppress)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
614 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
615 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
616 def dirty_data_list : Separate<["-"], "dirty_data_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
617 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
618 HelpText<"Specify data symbols in <path> destined for the __DATA_DIRTY segment">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
619 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
620 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
621 def max_default_common_align : Separate<["-"], "max_default_common_align">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
622 MetaVarName<"<boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
623 HelpText<"Reduce maximum alignment for common symbols to a hex power-of-2 <boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
624 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
625 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
626 def move_to_rw_segment : MultiArg<["-"], "move_to_rw_segment", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
627 MetaVarName<"<segment> <path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
628 HelpText<"Move data symbols listed in <path> to another <segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
629 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
630 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
631 def move_to_ro_segment : MultiArg<["-"], "move_to_ro_segment", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
632 MetaVarName<"<segment> <path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
633 HelpText<"Move code symbols listed in <path> to another <segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
634 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
635 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
636 def rename_section : MultiArg<["-"], "rename_section", 4>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
637 MetaVarName<"<from_segment> <from_section> <to_segment> <to_section>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
638 HelpText<"Rename <from_segment>/<from_section> as <to_segment>/<to_section>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
639 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
640 def rename_segment : MultiArg<["-"], "rename_segment", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
641 MetaVarName<"<from_segment> <to_segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
642 HelpText<"Rename <from_segment> as <to_segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
643 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
644 def trace_symbol_layout : Flag<["-"], "trace_symbol_layout">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
645 HelpText<"Show where and why symbols move, as specified by -move_to_ro_segment, -move_to_rw_segment, -rename_section, and -rename_segment">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
646 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
647 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
648 def data_const : Flag<["-"], "data_const">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
649 HelpText<"Force migration of readonly data into __DATA_CONST segment">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
650 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
651 def no_data_const : Flag<["-"], "no_data_const">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
652 HelpText<"Block migration of readonly data away from __DATA segment">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
653 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
654 def text_exec : Flag<["-"], "text_exec">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
655 HelpText<"Rename __segment TEXT to __TEXT_EXEC for sections __text and __stubs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
656 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
657 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
658 def section_order : MultiArg<["-"], "section_order", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
659 MetaVarName<"<segment> <sections>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
660 HelpText<"With -preload, specify layout sequence of colon-separated <sections> in <segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
661 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
662 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
663 def segment_order : Separate<["-"], "segment_order">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
664 MetaVarName<"<colon_separated_segment_list>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
665 HelpText<"With -preload, specify layout sequence of colon-separated <segments>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
666 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
667 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
668 def allow_heap_execute : Flag<["-"], "allow_heap_execute">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
669 HelpText<"On i386, allow any page to execute code">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
670 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
671 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
672 def application_extension : Flag<["-"], "application_extension">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
673 HelpText<"Designate the linker output as safe for use in an application extension">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
674 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
675 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
676 def no_application_extension : Flag<["-"], "no_application_extension">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
677 HelpText<"Designate the linker output as unsafe for use in an application extension">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
678 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
679 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
680 def fatal_warnings : Flag<["-"], "fatal_warnings">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
681 HelpText<"Treat warnings as errors">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
682 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
683 def no_eh_labels : Flag<["-"], "no_eh_labels">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
684 HelpText<"In -r mode, suppress .eh labels in the __eh_frame section">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
685 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
686 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
687 def warn_compact_unwind : Flag<["-"], "warn_compact_unwind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
688 HelpText<"Warn for each FDE that cannot compact into the __unwind_info section and must remain in the __eh_frame section">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
689 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
690 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
691 def warn_weak_exports : Flag<["-"], "warn_weak_exports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
692 HelpText<"Warn if the linked image contains weak external symbols">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
693 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
694 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
695 def no_weak_exports : Flag<["-"], "no_weak_exports">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
696 HelpText<"Fail if the linked image contains weak external symbols">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
697 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
698 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
699 def objc_gc_compaction : Flag<["-"], "objc_gc_compaction">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
700 HelpText<"Mark the Objective-C image as compatible with compacting garbage collection">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
701 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
702 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
703 def objc_gc : Flag<["-"], "objc_gc">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
704 HelpText<"Verify that all code was compiled with -fobjc-gc or -fobjc-gc-only">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
705 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
706 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
707 def objc_gc_only : Flag<["-"], "objc_gc_only">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
708 HelpText<"Verify that all code was compiled with -fobjc-gc-only">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
709 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
710 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
711 def dead_strip_dylibs : Flag<["-"], "dead_strip_dylibs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
712 HelpText<"Remove dylibs that are unreachable by the entry point or exported symbols">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
713 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
714 def allow_sub_type_mismatches : Flag<["-"], "allow_sub_type_mismatches">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
715 HelpText<"Permit mixing objects compiled for different ARM CPU subtypes">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
716 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
717 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
718 def no_uuid : Flag<["-"], "no_uuid">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
719 HelpText<"Do not generate the LC_UUID load command">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
720 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
721 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
722 def root_safe : Flag<["-"], "root_safe">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
723 HelpText<"Set the MH_ROOT_SAFE bit in the mach-o header">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
724 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
725 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
726 def setuid_safe : Flag<["-"], "setuid_safe">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
727 HelpText<"Set the MH_SETUID_SAFE bit in the mach-o header">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
728 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
729 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
730 def interposable : Flag<["-"], "interposable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
731 HelpText<"Indirects access to all to exported symbols in a dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
732 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
733 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
734 def multi_module : Flag<["-"], "multi_module">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
735 Alias<interposable>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
736 HelpText<"Alias for -interposable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
737 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
738 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
739 def init : Separate<["-"], "init">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
740 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
741 HelpText<"Run <symbol> as the first initializer in a dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
742 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
743 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
744 def sub_library : Separate<["-"], "sub_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
745 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
746 HelpText<"Re-export the dylib as <name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
747 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
748 def sub_umbrella : Separate<["-"], "sub_umbrella">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
749 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
750 HelpText<"Re-export the framework as <name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
751 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
752 def allowable_client : Separate<["-"], "allowable_client">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
753 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
754 HelpText<"Specify <name> of a dylib or framework that is allowed to link to this dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
755 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
756 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
757 def client_name : Separate<["-"], "client_name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
758 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
759 HelpText<"Specifies a <name> this client should match with the -allowable_client <name> in a dependent dylib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
760 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
761 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
762 def umbrella : Separate<["-"], "umbrella">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
763 MetaVarName<"<<name>>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
764 HelpText<"Re-export this dylib through the umbrella framework <name>a">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
765 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
766 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
767 def headerpad : Separate<["-"], "headerpad">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
768 MetaVarName<"<size>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
769 HelpText<"Allocate hex <size> extra space for future expansion of the load commands via install_name_tool (default is 0x20)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
770 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
771 def headerpad_max_install_names : Flag<["-"], "headerpad_max_install_names">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
772 HelpText<"Allocate extra space so all load-command paths can expand to MAXPATHLEN via install_name_tool">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
773 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
774 def bind_at_load : Flag<["-"], "bind_at_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
775 HelpText<"Tell dyld to bind all symbols at load time, rather than lazily">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
776 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
777 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
778 def force_flat_namespace : Flag<["-"], "force_flat_namespace">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
779 HelpText<"Tell dyld to use a flat namespace on this executable and all its dependent dylibs & bundles">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
780 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
781 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
782 def segalign : Separate<["-"], "segalign">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
783 MetaVarName<"<boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
784 HelpText<"Align all segments to hex power-of-2 <boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
785 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
786 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
787 def sectalign : MultiArg<["-"], "sectalign", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
788 MetaVarName<"<segment> <section> <boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
789 HelpText<"Align <section> within <segment> to hex power-of-2 <boundary>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
790 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
791 def stack_addr : Separate<["-"], "stack_addr">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
792 MetaVarName<"<address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
793 HelpText<"Initialize stack pointer to hex <address> rounded to a page boundary">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
794 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
795 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
796 def segprot : MultiArg<["-"], "segprot", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
797 MetaVarName<"<segment> <max> <init>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
798 HelpText<"Specifies the <max> and <init> virtual memory protection of <segment> as r/w/x/-seg_addr_table path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
799 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
800 def segs_read_write_addr : Separate<["-"], "segs_read_write_addr">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
801 MetaVarName<"<address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
802 HelpText<"This option is obsolete">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
803 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
804 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
805 def segs_read_only_addr : Separate<["-"], "segs_read_only_addr">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
806 MetaVarName<"<address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
807 HelpText<"This option is obsolete">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
808 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
809 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
810 def segaddr : MultiArg<["-"], "segaddr", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
811 MetaVarName<"<segment> <address>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
812 HelpText<"Specify the starting hex <address> at a 4KiB page boundary for <segment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
813 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
814 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
815 def seg_page_size : MultiArg<["-"], "seg_page_size", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
816 MetaVarName<"<segment> <size>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
817 HelpText<"Specifies the page <size> for <segment>. Segment size will be a multiple of its page size">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
818 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
819 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
820 def dylib_file : Separate<["-"], "dylib_file">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
821 MetaVarName<"<install_path:current_path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
822 HelpText<"Specify <current_path> as different from where a dylib normally resides at <install_path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
823 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
824 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
825 def weak_reference_mismatches : Separate<["-"], "weak_reference_mismatches">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
826 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
827 HelpText<"Resolve symbol imports of conflicting weakness according to <treatment> as weak, non-weak, or error (default is non-weak)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
828 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
829 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
830 def read_only_relocs : Separate<["-"], "read_only_relocs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
831 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
832 HelpText<"Handle relocations that modify read-only pages according to <treatment> of warning, error, or suppress (i.e., allow)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
833 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
834 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
835 def force_cpusubtype_ALL : Flag<["-"], "force_cpusubtype_ALL">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
836 HelpText<"Mark binary as runnable on any PowerPC, ignoring any PowerPC cpu requirements encoded in the object files">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
837 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
838 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
839 def no_arch_warnings : Flag<["-"], "no_arch_warnings">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
840 HelpText<"Suppresses warnings about inputs whose architecture does not match the -arch option">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
841 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
842 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
843 def arch_errors_fatal : Flag<["-"], "arch_errors_fatal">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
844 HelpText<"Escalate to errors any warnings about inputs whose architecture does not match the -arch option">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
845 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
846 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
847 def e : Separate<["-"], "e">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
848 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
849 HelpText<"Make <symbol> the entry point of an executable (default is \"start\" from crt1.o)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
850 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
851 def w : Flag<["-"], "w">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
852 HelpText<"Suppress all warnings">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
853 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
854 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
855 def final_output : Separate<["-"], "final_output">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
856 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
857 HelpText<"Specify the dylib install name if -install_name is not used--used by compiler driver for multiple -arch arguments">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
858 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
859 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
860 def arch_multiple : Flag<["-"], "arch_multiple">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
861 HelpText<"Augment error and warning messages with the architecture name">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
862 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
863 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
864 def dot : Separate<["-"], "dot">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
865 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
866 HelpText<"Write a graph of symbol dependencies to <path> as a .dot file viewable with GraphViz">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
867 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
868 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
869 def keep_relocs : Flag<["-"], "keep_relocs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
870 HelpText<"Retain section-based relocation records in the output, which are ignored at runtime by dyld">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
871 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
872 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
873 def warn_stabs : Flag<["-"], "warn_stabs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
874 HelpText<"Warn when bad stab symbols inside a BINCL/EINCL prevent optimization">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
875 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
876 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
877 def warn_commons : Flag<["-"], "warn_commons">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
878 HelpText<"Warn when a tentative definition in an object file matches an external symbol in a dylib, which often means \"extern\" is missing from a variable declaration in a header file">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
879 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
880 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
881 def read_only_stubs : Flag<["-"], "read_only_stubs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
882 HelpText<"On i386, make the __IMPORT segment of a final linked image read-only">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
883 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
884 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
885 def interposable_list : Separate<["-"], "interposable_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
886 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
887 HelpText<"Access global symbols listed in <path> indirectly">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
888 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
889 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
890 def no_function_starts : Flag<["-"], "no_function_starts">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
891 HelpText<"Do not create a table of function start addresses">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
892 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
893 def no_objc_category_merging : Flag<["-"], "no_objc_category_merging">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
894 HelpText<"Do not merge Objective-C categories into their classes">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
895 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
896 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
897 def object_path_lto : Separate<["-"], "object_path_lto">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
898 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
899 HelpText<"Retain any temporary mach-o file in <path> that would otherwise be deleted during LTO">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
900 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
901 def cache_path_lto : Separate<["-"], "cache_path_lto">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
902 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
903 HelpText<"Use <path> as a directory for the incremental LTO cache">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
904 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
905 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
906 def prune_interval_lto : Separate<["-"], "prune_interval_lto">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
907 MetaVarName<"<seconds>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
908 HelpText<"Prune the incremental LTO cache after <seconds> (-1 disables pruning)">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
909 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
910 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
911 def prune_after_lto : Separate<["-"], "prune_after_lto">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
912 MetaVarName<"<seconds>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
913 HelpText<"Remove LTO cache entries after <seconds>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
914 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
915 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
916 def max_relative_cache_size_lto : Separate<["-"], "max_relative_cache_size_lto">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
917 MetaVarName<"<percent>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
918 HelpText<"Limit the incremental LTO cache growth to <percent> of free disk, space">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
919 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
920 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
921 def page_align_data_atoms : Flag<["-"], "page_align_data_atoms">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
922 HelpText<"Distribute global variables on separate pages so page used/dirty status can guide creation of an order file to cluster commonly used/dirty globals">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
923 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
924 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
925 def not_for_dyld_shared_cache : Flag<["-"], "not_for_dyld_shared_cache">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
926 HelpText<"Prevent system dylibs from being placed into the dylib shared cache">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
927 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
928 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
929 def mllvm : Separate<["-"], "mllvm">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
930 HelpText<"Options to pass to LLVM">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
931 Group<grp_rare>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
932 def mcpu : Separate<["-"], "mcpu">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
933 HelpText<"Processor family target for LTO code generation">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
934 Group<grp_rare>;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
935
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
936 def grp_deprecated : OptionGroup<"deprecated">, HelpText<"DEPRECATED">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
937
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
938 def lazy_framework : Separate<["-"], "lazy_framework">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
939 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
940 HelpText<"This option is deprecated and is now an alias for -framework.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
941 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
942 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
943 def lazy_library : Separate<["-"], "lazy_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
944 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
945 HelpText<"This option is deprecated and is now an alias for regular linking">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
946 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
947 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
948 def lazy_l : Joined<["-"], "lazy-l">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
949 MetaVarName<"<name>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
950 HelpText<"This option is deprecated and is now an alias for -l<path>.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
951 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
952 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
953 def single_module : Flag<["-"], "single_module">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
954 HelpText<"Unnecessary option: this is already the default">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
955 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
956 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
957 def no_dead_strip_inits_and_terms : Flag<["-"], "no_dead_strip_inits_and_terms">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
958 HelpText<"Unnecessary option: initialization and termination are roots of the dead strip graph, so never dead stripped">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
959 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
960 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
961 def noall_load : Flag<["-"], "noall_load">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
962 HelpText<"Unnecessary option: this is already the default">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
963 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
964 Group<grp_deprecated>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
965
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
966 def grp_obsolete : OptionGroup<"obsolete">, HelpText<"OBSOLETE">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
967
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
968 def sectorder : MultiArg<["-"], "sectorder", 3>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
969 MetaVarName<"<segname> <sectname> <orderfile>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
970 HelpText<"Obsolete. Replaced by more general -order_file option">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
971 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
972 def lto_library : Separate<["-"], "lto_library">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
973 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
974 HelpText<"Obsolete. LLD supports LTO directly, without using an external dylib.">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
975 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
976 def y : Joined<["-"], "y">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
977 MetaVarName<"<symbol>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
978 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
979 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
980 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
981 def sectobjectsymbols : MultiArg<["-"], "sectobjectsymbols", 2>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
982 MetaVarName<"<segname> <sectname>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
983 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
984 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
985 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
986 def nofixprebinding : Flag<["-"], "nofixprebinding">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
987 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
988 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
989 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
990 def noprebind_all_twolevel_modules : Flag<["-"], "noprebind_all_twolevel_modules">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
991 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
992 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
993 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
994 def prebind_all_twolevel_modules : Flag<["-"], "prebind_all_twolevel_modules">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
995 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
996 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
997 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
998 def prebind_allow_overlap : Flag<["-"], "prebind_allow_overlap">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
999 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1000 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1001 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1002 def noprebind : Flag<["-"], "noprebind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1003 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1004 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1005 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1006 def sect_diff_relocs : Separate<["-"], "sect_diff_relocs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1007 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1008 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1009 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1010 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1011 def A : Separate<["-"], "A">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1012 MetaVarName<"<basefile>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1013 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1014 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1015 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1016 def b : Flag<["-"], "b">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1017 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1018 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1019 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1020 def Sn : Flag<["-"], "Sn">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1021 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1022 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1023 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1024 def Si : Flag<["-"], "Si">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1025 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1026 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1027 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1028 def Sp : Flag<["-"], "Sp">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1029 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1030 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1031 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1032 def X : Flag<["-"], "X">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1033 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1034 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1035 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1036 def s : Flag<["-"], "s">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1037 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1038 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1039 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1040 def m : Flag<["-"], "m">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1041 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1042 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1043 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1044 def Y : Separate<["-"], "Y">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1045 MetaVarName<"<number>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1046 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1047 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1048 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1049 def nomultidefs : Flag<["-"], "nomultidefs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1050 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1051 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1052 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1053 def multiply_defined_unused : Separate<["-"], "multiply_defined_unused">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1054 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1055 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1056 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1057 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1058 def multiply_defined : Separate<["-"], "multiply_defined">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1059 MetaVarName<"<treatment>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1060 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1061 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1062 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1063 def private_bundle : Flag<["-"], "private_bundle">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1064 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1065 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1066 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1067 def seg_addr_table_filename : Separate<["-"], "seg_addr_table_filename">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1068 MetaVarName<"<path>">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1069 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1070 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1071 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1072 def sectorder_detail : Flag<["-"], "sectorder_detail">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1073 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1074 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1075 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1076 def no_compact_linkedit : Flag<["-"], "no_compact_linkedit">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1077 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1078 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1079 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1080 def dependent_dr_info : Flag<["-"], "dependent_dr_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1081 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1082 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1083 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1084 def no_dependent_dr_info : Flag<["-"], "no_dependent_dr_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1085 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1086 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1087 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1088 def seglinkedit : Flag<["-"], "seglinkedit">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1089 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1090 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1091 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1092 def noseglinkedit : Flag<["-"], "noseglinkedit">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1093 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1094 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1095 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1096 def fvmlib : Flag<["-"], "fvmlib">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1097 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1098 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1099 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1100 def run_init_lazily : Flag<["-"], "run_init_lazily">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1101 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1102 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1103 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1104 def prebind : Flag<["-"], "prebind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1105 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1106 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1107 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1108 def twolevel_namespace_hints : Flag<["-"], "twolevel_namespace_hints">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1109 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1110 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1111 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1112 def slow_stubs : Flag<["-"], "slow_stubs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1113 HelpText<"This option is obsolete in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1114 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1115 Group<grp_obsolete>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1116
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1117 def grp_undocumented : OptionGroup<"undocumented">, HelpText<"UNDOCUMENTED">;
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1118
207
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1119 def add_linker_option : Flag<["-"], "add_linker_option">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1120 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1121 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1122 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1123 def add_source_version : Flag<["-"], "add_source_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1124 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1125 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1126 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1127 def no_source_version : Flag<["-"], "no_source_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1128 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1129 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1130 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1131 def add_split_seg_info : Flag<["-"], "add_split_seg_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1132 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1133 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1134 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1135 def allow_dead_duplicates : Flag<["-"], "allow_dead_duplicates">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1136 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1137 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1138 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1139 def allow_simulator_linking_to_macosx_dylibs : Flag<["-"], "allow_simulator_linking_to_macosx_dylibs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1140 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1141 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1142 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1143 def bitcode_process_mode : Flag<["-"], "bitcode_process_mode">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1144 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1145 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1146 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1147 def bitcode_verify : Flag<["-"], "bitcode_verify">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1148 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1149 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1150 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1151 def classic_linker : Flag<["-"], "classic_linker">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1152 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1153 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1154 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1155 def data_in_code_info : Flag<["-"], "data_in_code_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1156 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1157 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1158 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1159 def no_data_in_code_info : Flag<["-"], "no_data_in_code_info">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1160 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1161 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1162 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1163 def debug_snapshot : Flag<["-"], "debug_snapshot">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1164 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1165 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1166 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1167 def demangle : Flag<["-"], "demangle">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1168 HelpText<"Demangle symbol names in diagnostics">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1169 def dyld_env : Flag<["-"], "dyld_env">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1170 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1171 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1172 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1173 def encryptable : Flag<["-"], "encryptable">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1174 HelpText<"Generate the LC_ENCRYPTION_INFO load command">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1175 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1176 def no_encryption : Flag<["-"], "no_encryption">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1177 HelpText<"Do not generate the LC_ENCRYPTION_INFO load command">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1178 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1179 def executable_path : Flag<["-"], "executable_path">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1180 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1181 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1182 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1183 def fixup_chains : Flag<["-"], "fixup_chains">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1184 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1185 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1186 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1187 def fixup_chains_section : Flag<["-"], "fixup_chains_section">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1188 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1189 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1190 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1191 def flto_codegen_only : Flag<["-"], "flto-codegen-only">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1192 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1193 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1194 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1195 def force_load_swift_libs : Flag<["-"], "force_load_swift_libs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1196 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1197 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1198 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1199 def force_symbol_not_weak : Flag<["-"], "force_symbol_not_weak">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1200 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1201 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1202 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1203 def force_symbols_coalesce_list : Flag<["-"], "force_symbols_coalesce_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1204 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1205 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1206 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1207 def force_symbols_not_weak_list : Flag<["-"], "force_symbols_not_weak_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1208 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1209 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1210 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1211 def force_symbols_weak_list : Flag<["-"], "force_symbols_weak_list">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1212 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1213 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1214 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1215 def force_symbol_weak : Flag<["-"], "force_symbol_weak">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1216 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1217 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1218 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1219 def function_starts : Flag<["-"], "function_starts">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1220 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1221 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1222 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1223 def i : Flag<["-"], "i">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1224 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1225 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1226 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1227 def ignore_auto_link : Flag<["-"], "ignore_auto_link">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1228 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1229 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1230 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1231 def ignore_optimization_hints : Flag<["-"], "ignore_optimization_hints">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1232 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1233 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1234 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1235 def init_offsets : Flag<["-"], "init_offsets">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1236 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1237 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1238 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1239 def keep_dwarf_unwind : Flag<["-"], "keep_dwarf_unwind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1240 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1241 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1242 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1243 def no_keep_dwarf_unwind : Flag<["-"], "no_keep_dwarf_unwind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1244 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1245 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1246 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1247 def kext : Flag<["-"], "kext">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1248 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1249 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1250 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1251 def kext_objects_dir : Flag<["-"], "kext_objects_dir">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1252 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1253 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1254 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1255 def no_kext_objects : Flag<["-"], "no_kext_objects">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1256 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1257 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1258 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1259 def kexts_use_stubs : Flag<["-"], "kexts_use_stubs">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1260 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1261 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1262 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1263 def no_compact_unwind : Flag<["-"], "no_compact_unwind">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1264 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1265 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1266 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1267 def no_dtrace_dof : Flag<["-"], "no_dtrace_dof">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1268 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1269 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1270 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1271 def no_new_main : Flag<["-"], "no_new_main">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1272 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1273 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1274 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1275 def objc_abi_version : Separate<["-"], "objc_abi_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1276 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1277 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1278 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1279 def pause : Flag<["-"], "pause">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1280 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1281 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1282 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1283 def random_uuid : Flag<["-"], "random_uuid">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1284 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1285 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1286 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1287 def simulator_support : Flag<["-"], "simulator_support">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1288 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1289 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1290 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1291 def snapshot_dir : Flag<["-"], "snapshot_dir">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1292 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1293 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1294 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1295 def source_version : Flag<["-"], "source_version">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1296 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1297 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1298 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1299 def threaded_starts_section : Flag<["-"], "threaded_starts_section">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1300 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1301 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1302 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1303 def verbose_optimization_hints : Flag<["-"], "verbose_optimization_hints">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1304 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1305 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1306 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1307 def version_load_command : Flag<["-"], "version_load_command">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1308 HelpText<"This option is undocumented in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1309 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1310 Group<grp_undocumented>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1311
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1312 def grp_ignored : OptionGroup<"ignored">, HelpText<"IGNORED">;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1313
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1314 def M : Flag<["-"], "M">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1315 HelpText<"This option is ignored in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1316 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1317 Group<grp_ignored>;
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1318 def new_linker : Flag<["-"], "new_linker">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1319 HelpText<"This option is ignored in ld64">,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1320 Flags<[HelpHidden]>,
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 173
diff changeset
1321 Group<grp_ignored>;