[lld] r270711 - Do not ignore --no_ctors_in_init_array flag.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 08:30:11 PDT 2016


Author: ruiu
Date: Wed May 25 10:30:11 2016
New Revision: 270711

URL: http://llvm.org/viewvc/llvm-project?rev=270711&view=rev
Log:
Do not ignore --no_ctors_in_init_array flag.

That flag is probably too dangerous to ignore silently.

Modified:
    lld/trunk/ELF/Options.td

Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=270711&r1=270710&r2=270711&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Wed May 25 10:30:11 2016
@@ -238,7 +238,6 @@ def fatal_warnings : Flag<["--"], "fatal
 def no_add_needed : Flag<["--"], "no-add-needed">;
 def no_copy_dt_needed_entries : Flag<["--"], "no-copy-dt-needed-entries">,
                                 Alias<no_add_needed>;
-def no_ctors_in_init_array : Flag<["--"], "no-ctors-in-init-array">;
 def no_dynamic_linker : Flag<["--"], "no-dynamic-linker">;
 def no_fatal_warnings : Flag<["--"], "no-fatal-warnings">;
 def no_mmap_output_file : Flag<["--"], "no-mmap-output-file">;




More information about the llvm-commits mailing list