<br><br><div class="gmail_quote">On Thu, May 31, 2012 at 3:31 PM, Chandler Carruth <span dir="ltr"><<a href="mailto:chandlerc@google.com" target="_blank">chandlerc@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What's the goal of this stub? Why is it needed, and how will it fit into the bigger picture?</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div>
<div>You use '__' in an identifier -- that's not allowed outside of the standard library.</div></blockquote><div><br></div><div>tsan/asan run-times *are* a sort of standard library. </div><div>Since these functions will be linked to user code, they should avoid name clash. </div>
<div>This is why all code in asan rt is in namespace __asan. (there are also few extern "C" functions that start with __asan_)</div><div><br></div><div>--kcc </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<br></div><div>Also, you have comments that don't agree with the file names, and comments that don't make a lot af sense (Why is including system headers bad? What is mini_libc?). It almost looks like this is cribbed from some other codebase???</div>

<div><br><div class="gmail_quote"><div><div class="h5">On Thu, May 31, 2012 at 4:22 AM, Alexey Samsonov <span dir="ltr"><<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi,<div><br></div><div>This patch adds a stub for LLVM-based symbolizer that is intended to be used in {Address,Thread}Sanitizer.<br><div><div><br></div><div>--</div><div>Alexey Samsonov, MSK</div>
</div></div>
<br></div></div>_______________________________________________<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/mailman/listinfo/llvm-commits</a><br>
<br></blockquote></div><br></div>
<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>