<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 26, 2016 at 10:12 PM, Sean Silva <span dir="ltr"><<a href="mailto:chisophugis@gmail.com" target="_blank">chisophugis@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">silvas added a comment.<br>
<br>
Thanks David. r262112.<br>
<span class=""><br>
In <a href="http://reviews.llvm.org/D17672#363502" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17672#363502</a>, @davidxl wrote:<br>
<br>
> This one looks fine. There is a compiler-rt part too.<br>
<br>
<br>
</span>Curiously PS4 defines __FreeBSD__ and we we were actually already taking the linker magic `#ifdef`. I actually ran into this somewhat accidentally when using an upstream compiler-rt for PS4. I actually encountered link errors for missing `__llvm_profile_register_function` et al. which gave me the motivation to look closer. In the end this change seemed like the natural thing to do since it was a win-win for reducing our private patches and also getting the improved startup time.<br></blockquote><div><br></div><div>ok. Does PS4 define its own platform macro? It might be better to make it more explicit.</div><div><br></div><div>David</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D17672" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17672</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div></div>