Hide the --full-shutdown option.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 Feb 2018 18:12:41 +0000 (18:12 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 6 Feb 2018 18:12:41 +0000 (18:12 +0000)
llvm-svn: 324365

lld/ELF/DriverUtils.cpp
lld/ELF/Options.td

index 2f7c922..7ad92fe 100644 (file)
@@ -29,6 +29,7 @@
 
 using namespace llvm;
 using namespace llvm::sys;
+using namespace llvm::opt;
 
 using namespace lld;
 using namespace lld::elf;
index 6416450..e92c6af 100644 (file)
@@ -144,7 +144,7 @@ defm fini: Eq<"fini">,
 def fix_cortex_a53_843419: F<"fix-cortex-a53-843419">,
   HelpText<"Apply fixes for AArch64 Cortex-A53 erratum 843419">;
 
-def full_shutdown : F<"full-shutdown">,
+def full_shutdown : F<"full-shutdown">, Flags<[HelpHidden]>,
   HelpText<"Perform a full shutdown instead of calling _exit">;
 
 defm format: Eq<"format">,