[lld] r324365 - Hide the --full-shutdown option.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 9 12:12:20 PST 2018


How could you see that option before this change? It at least didn't appear
when I did "ld.lld --help".

On Tue, Feb 6, 2018 at 10:12 AM, Rafael Espindola via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> Author: rafael
> Date: Tue Feb  6 10:12:41 2018
> New Revision: 324365
>
> URL: http://llvm.org/viewvc/llvm-project?rev=324365&view=rev
> Log:
> Hide the --full-shutdown option.
>
> Modified:
>     lld/trunk/ELF/DriverUtils.cpp
>     lld/trunk/ELF/Options.td
>
> Modified: lld/trunk/ELF/DriverUtils.cpp
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/
> DriverUtils.cpp?rev=324365&r1=324364&r2=324365&view=diff
> ============================================================
> ==================
> --- lld/trunk/ELF/DriverUtils.cpp (original)
> +++ lld/trunk/ELF/DriverUtils.cpp Tue Feb  6 10:12:41 2018
> @@ -29,6 +29,7 @@
>
>  using namespace llvm;
>  using namespace llvm::sys;
> +using namespace llvm::opt;
>
>  using namespace lld;
>  using namespace lld::elf;
>
> Modified: lld/trunk/ELF/Options.td
> URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.
> td?rev=324365&r1=324364&r2=324365&view=diff
> ============================================================
> ==================
> --- lld/trunk/ELF/Options.td (original)
> +++ lld/trunk/ELF/Options.td Tue Feb  6 10:12:41 2018
> @@ -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">,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180209/6fecb3fa/attachment.html>


More information about the llvm-commits mailing list