Hi Dan, <div><br></div><div>I am very glad that you doing this! </div><div>However, adding a new platform which my team is not supporting will cause some amount of pain. </div><div>Do you plan to have a public buildbot for LLVM+asan on FreeBSD? </div>
<div><br></div><div>While my team is the only party maintaining asan, our private bots work fine,</div><div>but once others start adding more platforms to asan we will need public bots. </div><div>Chandler, all, is there any chance to have public bots for asan (Linux, Mac, Android, Win32, FreeBSD) somewhere? </div>
<div><br></div><div><br></div><div>+#if !defined(__linux__) && !defined(__APPLE__) && !defined(_WIN32) && !defined(__FreeBSD__)                                                                                                        </div>
<div>Please honor 80-chars-per-line rule</div><div><br></div><div><div>-  return syscall(__NR_munmap, addr, length);                                                                                                                                                       </div>
<div>+  return syscall(SYS_munmap, addr, length);       </div></div><div><br></div><div>My recollection is that this will not work for Android. </div><div>Evgeniy? </div><div><br></div><div>Maybe it makes sense to create sanitizer_common/sanitizer_bsd.cc (or sanitizer_freebsd.cc)?</div>
<div>OTOH, most of the code will be the same... </div><div><br></div><div>--kcc </div><div><br><br><div class="gmail_quote">On Tue, Aug 21, 2012 at 8:54 AM, Dan McGregor <span dir="ltr"><<a href="mailto:danismostlikely@gmail.com" target="_blank">danismostlikely@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><br></div><div>Over the last few days I've been working on getting ASan working on FreeBSD.  My ongoing work can be seen at <a href="https://github.com/dannomac/compiler-rt/tree/freebsd" target="_blank">https://github.com/dannomac/compiler-rt/tree/freebsd</a>.  Here is a patch to get ASan building on FreeBSD 10, though i386 on amd64 builds currently don't work amd64 builds do.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Dan</div>
</font></span><br>_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">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/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>