<div dir="ltr">I'm submitting the above patch because it seems what it's originally intended and will fix the warning. This warning is bad because as stated in the LLVM developer's policy a patch must compile cleanly on at least one platform.<div>

<br></div><div>This clearly demonstrated that the test coverage for the feature is not sufficient.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 9, 2013 at 11:57 AM, Shankar Easwaran <span dir="ltr"><<a href="mailto:shankare@codeaurora.org" target="_blank">shankare@codeaurora.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+ Nick<br>
<br>
Nick added -all_load option, for making it link darwin style.<br>
<br>
Thanks<br>
<br>
Shankar Easwaran<div class="HOEnZb"><div class="h5"><br>
<br>
On 9/9/2013 1:33 PM, Joerg Sonnenberger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, Sep 09, 2013 at 11:28:44AM -0700, Rui Ueyama wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
================<br>
Comment at: include/lld/Driver/<u></u>DarwinInputGraph.h:52<br>
@@ -48,2 +51,3 @@<br>
    const MachOLinkingContext &_ctx;<br>
+  bool _isWholeArchive;<br>
  };<br>
----------------<br>
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.<br>
</blockquote>
Doesn't Darwin have an equivalent to --whole-archive? -force_load or so<br>
with corresponding no option?<br>
<br>
Joerg<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
<br>
<br>
</blockquote>
<br>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>