[WebAssembly] Use helper macro from ELF/Options.td to tidy. NFC

Differential Revision: https://reviews.llvm.org/D44394

llvm-svn: 327391
This commit is contained in:
Nicholas Wilson 2018-03-13 13:16:15 +00:00
parent 08cff61572
commit 88d9ffc973
1 changed files with 9 additions and 15 deletions

View File

@ -36,8 +36,9 @@ def error_limit: J<"error-limit=">,
def fatal_warnings: F<"fatal-warnings">, def fatal_warnings: F<"fatal-warnings">,
HelpText<"Treat warnings as errors">; HelpText<"Treat warnings as errors">;
def gc_sections: F<"gc-sections">, defm gc_sections: B<"gc-sections",
HelpText<"Enable garbage collection of unused sections">; "Enable garbage collection of unused sections",
"Disable garbage collection of unused sections">;
def help: F<"help">, HelpText<"Print option help">; def help: F<"help">, HelpText<"Print option help">;
@ -57,17 +58,12 @@ def no_color_diagnostics: F<"no-color-diagnostics">,
def no_fatal_warnings: F<"no-fatal-warnings">; def no_fatal_warnings: F<"no-fatal-warnings">;
def no_gc_sections: F<"no-gc-sections">,
HelpText<"Disable garbage collection of unused sections">;
def no_print_gc_sections: F<"no-print-gc-sections">,
HelpText<"Do not list removed unused sections">;
def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">, def o: JoinedOrSeparate<["-"], "o">, MetaVarName<"<path>">,
HelpText<"Path to file to write output">; HelpText<"Path to file to write output">;
def print_gc_sections: F<"print-gc-sections">, defm print_gc_sections: B<"print-gc-sections",
HelpText<"List removed unused sections">; "List removed unused sections",
"Do not list removed unused sections">;
def relocatable: F<"relocatable">, HelpText<"Create relocatable object file">; def relocatable: F<"relocatable">, HelpText<"Create relocatable object file">;
@ -100,8 +96,9 @@ def allow_undefined_file: J<"allow-undefined-file=">,
def allow_undefined_file_s: Separate<["-"], "allow-undefined-file">, def allow_undefined_file_s: Separate<["-"], "allow-undefined-file">,
Alias<allow_undefined_file>; Alias<allow_undefined_file>;
def check_signatures: F<"check-signatures">, defm check_signatures: B<"check-signatures",
HelpText<"Check function signatures">; "Check function signatures",
"Don't check function signatures">;
defm export: Eq<"export">, defm export: Eq<"export">,
HelpText<"Force a symbol to be exported">; HelpText<"Force a symbol to be exported">;
@ -118,9 +115,6 @@ def initial_memory: J<"initial-memory=">,
def max_memory: J<"max-memory=">, def max_memory: J<"max-memory=">,
HelpText<"Maximum size of the linear memory">; HelpText<"Maximum size of the linear memory">;
def no_check_signatures: F<"no-check-signatures">,
HelpText<"Don't check function signatures">;
def no_entry: F<"no-entry">, def no_entry: F<"no-entry">,
HelpText<"Do not output any entry point">; HelpText<"Do not output any entry point">;