[lld] r189207 - [lld][ELF] Indent the td file to < 80 columns
Shankar Easwaran
shankare at codeaurora.org
Sun Aug 25 18:56:27 PDT 2013
Author: shankare
Date: Sun Aug 25 20:56:27 2013
New Revision: 189207
URL: http://llvm.org/viewvc/llvm-project?rev=189207&view=rev
Log:
[lld][ELF] Indent the td file to < 80 columns
Modified:
lld/trunk/lib/Driver/LDOptions.td
Modified: lld/trunk/lib/Driver/LDOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/LDOptions.td?rev=189207&r1=189206&r2=189207&view=diff
==============================================================================
--- lld/trunk/lib/Driver/LDOptions.td (original)
+++ lld/trunk/lib/Driver/LDOptions.td Sun Aug 25 20:56:27 2013
@@ -4,14 +4,18 @@ def target : Separate<["-"], "target">,
MetaVarName<"<triple>">,
HelpText<"Target triple to link for">;
-def mllvm : Separate<["-"], "mllvm">, HelpText<"Options to pass to LLVM">;
+def mllvm : Separate<["-"], "mllvm">,
+ HelpText<"Options to pass to LLVM">;
// Single and multiple dash options combined
multiclass smDash<string opt1, string opt2, string help> {
def "" : Separate<["-"], opt1>, HelpText<help>;
- def opt1_eq : Separate<["-"], opt1#"=">, Alias<!cast<Option>(opt1)>;
- def opt2_dashdash : Separate<["--"], opt2>, Alias<!cast<Option>(opt1)>;
- def opt2_dashdash_eq : Separate<["--"], opt2#"=">, Alias<!cast<Option>(opt1)>;
+ def opt1_eq : Separate<["-"], opt1#"=">,
+ Alias<!cast<Option>(opt1)>;
+ def opt2_dashdash : Separate<["--"], opt2>,
+ Alias<!cast<Option>(opt1)>;
+ def opt2_dashdash_eq : Separate<["--"], opt2#"=">,
+ Alias<!cast<Option>(opt1)>;
}
defm e : smDash<"e", "entry",
@@ -26,7 +30,8 @@ def relocatable_r : Flag<["-"], "r">, Al
def dynamic_linker : Joined<["--"], "dynamic-linker=">,
HelpText<"Set the path to the dynamic linker">;
-def dynamic_linker_alias : Separate<["-"], "dynamic-linker">, Alias<dynamic_linker>;
+def dynamic_linker_alias : Separate<["-"], "dynamic-linker">,
+ Alias<dynamic_linker>;
def m : Separate<["-"], "m">;
def z : Separate<["-"], "z">;
@@ -52,39 +57,50 @@ def l : Joined<["-"], "l">,
def hash_style : Joined <["--"], "hash-style=">;
def noinhibit_exec : Flag<["--"], "noinhibit-exec">,
- HelpText<"Retain the executable output file whenever it is still usable">;
+ HelpText<"Retain the executable output file whenever"
+ " it is still usable">;
def merge_strings : Flag<["--"], "merge-strings">,
HelpText<"Merge common strings across mergeable sections">;
def no_allow_shlib_undefs : Flag<["--"], "no-allow-shlib-undefined">,
- HelpText<"Donot allow undefined symbols from dynamic library when creating executables">;
+ HelpText<"Donot allow undefined symbols from dynamic"
+ " library when creating executables">;
def allow_shlib_undefs : Flag<["--"], "allow-shlib-undefined">,
- HelpText<"Allow undefined symbols from dynamic library when creating executables">;
+ HelpText<"Allow undefined symbols from dynamic"
+ " library when creating executables">;
def use_shlib_undefs: Flag<["--"], "use-shlib-undefines">,
HelpText<"Resolve undefined symbols from dynamic libraries">;
def nmagic : Flag<["--"], "nmagic">,
- HelpText<"Turn off page alignment of sections, and disable linking against shared libraries">;
+ HelpText<"Turn off page alignment of sections,"
+ " and disable linking against shared libraries">;
def nmagic_alias : Flag<["-"], "n">, Alias<nmagic>;
def omagic : Flag<["--"], "omagic">,
- HelpText<"Set the text and data sections to be readable and writable. Also, do not page-align the data segment, and disable linking against shared libraries.">;
+ HelpText<"Set the text and data sections to be readable and writable."
+ " Also, do not page-align the data segment, and"
+ " disable linking against shared libraries.">;
+
def omagic_alias : Flag<["-"], "N">, Alias<omagic>;
def no_omagic : Flag<["--"], "no-omagic">,
- HelpText<"This option negates most of the effects of the -N option. Disable linking with shared libraries">;
+ HelpText<"This option negates most of the effects of the -N option."
+ "Disable linking with shared libraries">;
defm u : smDash<"u", "undefined",
- "Force symbol to be entered in the output file as an undefined symbol">;
+ "Force symbol to be entered in the output file"
+ " as an undefined symbol">;
def as_needed : Flag<["--"], "as-needed">,
- HelpText<"This option affects ELF DT_NEEDED tags for dynamic libraries mentioned on the command line">;
+ HelpText<"This option affects ELF DT_NEEDED tags for "
+ "dynamic libraries mentioned on the command line">;
def no_as_needed : Flag<["--"], "no-as-needed">,
- HelpText<"This option restores the default behavior of adding DT_NEEDED entries">;
+ HelpText<"This option restores the default behavior"
+ " of adding DT_NEEDED entries">;
// extensions
def emit_yaml : Flag<["-"], "emit-yaml">,
More information about the llvm-commits
mailing list