[PATCH] Proper whole-archive handling

Joerg Sonnenberger joerg at britannica.bec.de
Mon Sep 9 11:33:44 PDT 2013


On Mon, Sep 09, 2013 at 11:28:44AM -0700, Rui Ueyama wrote:
> 
> 
> ================
> Comment at: include/lld/Driver/DarwinInputGraph.h:52
> @@ -48,2 +51,3 @@
>    const MachOLinkingContext &_ctx;
> +  bool _isWholeArchive;
>  };
> ----------------
> This change caused the compiler to warn if -Wunused-private-field is enabled. I'm going to remove this  line for now for those who enabled -Werror.

Doesn't Darwin have an equivalent to --whole-archive? -force_load or so
with corresponding no option?

Joerg



More information about the llvm-commits mailing list