<div dir="ltr">They should not have extern "C" implicitly set. Doing so raises the following diagnostic when they mix with other declarations:<div>linkage specification contradicts earlier specification for 'DllMain'</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 11:00 AM, Reid Kleckner <span dir="ltr"><<a href="mailto:rnk@google.com" target="_blank">rnk@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
  There's one outstanding issue here, which is that now we generate invalid obj files if you overload one of these guys.  =/<br>
<br>
  IMO we should have an equivalent of CheckMain which marks them all implicitly extern "C", and then let other machinery take care of the rest.<br>
<div class="HOEnZb"><div class="h5"><br>
<a href="http://llvm-reviews.chandlerc.com/D1670" target="_blank">http://llvm-reviews.chandlerc.com/D1670</a><br>
<br>
COMMIT<br>
  <a href="http://llvm-reviews.chandlerc.com/rL190675" target="_blank">http://llvm-reviews.chandlerc.com/rL190675</a><br>
</div></div></blockquote></div><br></div>