diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2013-08-26 01:56:27 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2013-08-26 01:56:27 +0000 |
commit | da7ceb9b58a97360b32c75789f029a1596cc63e6 (patch) | |
tree | 03c2dc0fe8b8cb69f2bf93bcad9f24d6c5190207 /lld | |
parent | 6269f49505c7de7129da1c39c8d1b48b20c1b712 (diff) | |
download | bcm5719-llvm-da7ceb9b58a97360b32c75789f029a1596cc63e6.tar.gz bcm5719-llvm-da7ceb9b58a97360b32c75789f029a1596cc63e6.zip |
[lld][ELF] Indent the td file to < 80 columns
llvm-svn: 189207
Diffstat (limited to 'lld')
-rw-r--r-- | lld/lib/Driver/LDOptions.td | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/lld/lib/Driver/LDOptions.td b/lld/lib/Driver/LDOptions.td index f95f7b1484e..9cdd8c27bd0 100644 --- a/lld/lib/Driver/LDOptions.td +++ b/lld/lib/Driver/LDOptions.td @@ -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">, Alias<relocatable>; 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">, |