Mercurial > hg > CbC > CbC_llvm
comparison llvm/tools/dsymutil/Options.td @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
comparison
equal
deleted
inserted
replaced
172:9fbae9c8bf63 | 173:0572611fdcc8 |
---|---|
22 | 22 |
23 def verbose: F<"verbose">, | 23 def verbose: F<"verbose">, |
24 HelpText<"Enable verbose mode.">, | 24 HelpText<"Enable verbose mode.">, |
25 Group<grp_general>; | 25 Group<grp_general>; |
26 | 26 |
27 def statistics: F<"statistics">, | |
28 HelpText<"Print statistics about the contribution of each object file to " | |
29 "the linked debug info. This prints a table after linking with the " | |
30 "object file name, the size of the debug info in the object file " | |
31 "(in bytes) and the size contributed (in bytes) to the linked dSYM. " | |
32 "The table is sorted by the output size listing the object files " | |
33 "with the largest contribution first.">, | |
34 Group<grp_general>; | |
35 | |
27 def verify: F<"verify">, | 36 def verify: F<"verify">, |
28 HelpText<"Run the DWARF verifier on the linked DWARF debug info.">, | 37 HelpText<"Run the DWARF verifier on the linked DWARF debug info.">, |
29 Group<grp_general>; | 38 Group<grp_general>; |
30 | 39 |
31 def no_output: F<"no-output">, | 40 def no_output: F<"no-output">, |
42 | 51 |
43 def dump_debug_map: F<"dump-debug-map">, | 52 def dump_debug_map: F<"dump-debug-map">, |
44 HelpText<"Parse and dump the debug map to standard output. Not DWARF link will take place.">, | 53 HelpText<"Parse and dump the debug map to standard output. Not DWARF link will take place.">, |
45 Group<grp_general>; | 54 Group<grp_general>; |
46 | 55 |
47 def yaml_input: F<"y">, | 56 def yaml_input: Flag<["-", "--"], "y">, |
48 HelpText<"Treat the input file is a YAML debug map rather than a binary.">, | 57 HelpText<"Treat the input file is a YAML debug map rather than a binary.">, |
49 Group<grp_general>; | 58 Group<grp_general>; |
50 | 59 |
51 def papertrail: F<"papertrail">, | 60 def papertrail: F<"papertrail">, |
52 HelpText<"Embed warnings in the linked DWARF debug info.">, | 61 HelpText<"Embed warnings in the linked DWARF debug info.">, |
53 Group<grp_general>; | 62 Group<grp_general>; |
54 | 63 |
55 def assembly: F<"S">, | 64 def assembly: Flag<["-", "--"], "S">, |
56 HelpText<"Output textual assembly instead of a binary dSYM companion file.">, | 65 HelpText<"Output textual assembly instead of a binary dSYM companion file.">, |
57 Group<grp_general>; | 66 Group<grp_general>; |
58 | 67 |
59 def symtab: F<"symtab">, | 68 def symtab: F<"symtab">, |
60 HelpText<"Dumps the symbol table found in executable or object file(s) and exits.">, | 69 HelpText<"Dumps the symbol table found in executable or object file(s) and exits.">, |
91 def: Flag<["-"], "u">, | 100 def: Flag<["-"], "u">, |
92 Alias<update>, | 101 Alias<update>, |
93 HelpText<"Alias for --update">, | 102 HelpText<"Alias for --update">, |
94 Group<grp_general>; | 103 Group<grp_general>; |
95 | 104 |
96 def output: Separate<["--", "-"], "o">, | 105 def output: Separate<["-", "--"], "o">, |
97 MetaVarName<"<filename>">, | 106 MetaVarName<"<filename>">, |
98 HelpText<"Specify the output file. Defaults to <input file>.dwarf">, | 107 HelpText<"Specify the output file. Defaults to <input file>.dwarf">, |
99 Group<grp_general>; | 108 Group<grp_general>; |
100 def: Separate<["--", "-"], "out">, | 109 def: Separate<["--", "-"], "out">, |
110 MetaVarName<"<filename>">, | |
101 Alias<output>, | 111 Alias<output>, |
102 HelpText<"Alias for --o">, | 112 HelpText<"Alias for -o">, |
103 Group<grp_general>; | 113 Group<grp_general>; |
104 def: Joined<["--", "-"], "out=">, Alias<output>; | 114 def: Joined<["--", "-"], "out=">, Alias<output>; |
105 def: Joined<["--", "-"], "o=">, Alias<output>; | 115 def: Joined<["-", "--"], "o=">, Alias<output>; |
106 | 116 |
107 def oso_prepend_path: Separate<["--", "-"], "oso-prepend-path">, | 117 def oso_prepend_path: Separate<["--", "-"], "oso-prepend-path">, |
108 MetaVarName<"<path>">, | 118 MetaVarName<"<path>">, |
109 HelpText<"Specify a directory to prepend to the paths of object files.">, | 119 HelpText<"Specify a directory to prepend to the paths of object files.">, |
110 Group<grp_general>; | 120 Group<grp_general>; |
111 def: Joined<["--", "-"], "oso-prepend-path=">, Alias<oso_prepend_path>; | 121 def: Joined<["--", "-"], "oso-prepend-path=">, Alias<oso_prepend_path>; |
122 | |
123 def object_prefix_map: Separate<["--", "-"], "object-prefix-map">, | |
124 MetaVarName<"<prefix=remapped>">, | |
125 HelpText<"Remap object file paths (but no source paths) before processing." | |
126 "Use this for Clang objects where the module cache location was" | |
127 "remapped using -fdebug-prefix-map; to help dsymutil" | |
128 "find the Clang module cache.">, | |
129 Group<grp_general>; | |
130 def: Joined<["--", "-"], "object-prefix-map=">, Alias<object_prefix_map>; | |
112 | 131 |
113 def symbolmap: Separate<["--", "-"], "symbol-map">, | 132 def symbolmap: Separate<["--", "-"], "symbol-map">, |
114 MetaVarName<"<bcsymbolmap>">, | 133 MetaVarName<"<bcsymbolmap>">, |
115 HelpText<"Updates the existing dSYMs inplace using symbol map specified.">, | 134 HelpText<"Updates the existing dSYMs inplace using symbol map specified.">, |
116 Group<grp_general>; | 135 Group<grp_general>; |
139 def threads: Separate<["--", "-"], "num-threads">, | 158 def threads: Separate<["--", "-"], "num-threads">, |
140 MetaVarName<"<threads>">, | 159 MetaVarName<"<threads>">, |
141 HelpText<"Specifies the maximum number of simultaneous threads to use when linking multiple architectures.">, | 160 HelpText<"Specifies the maximum number of simultaneous threads to use when linking multiple architectures.">, |
142 Group<grp_general>; | 161 Group<grp_general>; |
143 def: Separate<["-"], "j">, | 162 def: Separate<["-"], "j">, |
144 Alias<threads>, | 163 MetaVarName<"<threads>">, |
145 HelpText<"Alias for --num-threads">, | 164 HelpText<"Alias for --num-threads">, |
146 Group<grp_general>; | 165 Group<grp_general>; |
166 | |
167 def gen_reproducer: F<"gen-reproducer">, | |
168 HelpText<"Generate a reproducer consisting of the input object files.">, | |
169 Group<grp_general>; | |
170 | |
171 def use_reproducer: Separate<["--", "-"], "use-reproducer">, | |
172 MetaVarName<"<path>">, | |
173 HelpText<"Use the object files from the given reproducer path.">, | |
174 Group<grp_general>; | |
175 def: Joined<["--", "-"], "use-reproducer=">, Alias<use_reproducer>; | |
147 | 176 |
148 def remarks_prepend_path: Separate<["--", "-"], "remarks-prepend-path">, | 177 def remarks_prepend_path: Separate<["--", "-"], "remarks-prepend-path">, |
149 MetaVarName<"<path>">, | 178 MetaVarName<"<path>">, |
150 HelpText<"Specify a directory to prepend to the paths of the external remark files.">, | 179 HelpText<"Specify a directory to prepend to the paths of the external remark files.">, |
151 Group<grp_general>; | 180 Group<grp_general>; |