<br><br><div class="gmail_quote">On Tue, Sep 4, 2012 at 10:01 PM, Reid Watson <span dir="ltr"><<a href="mailto:reidw@google.com" target="_blank">reidw@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Sorry for the delay!<br>
<br>
I'd rather not separate the blacklists.  Instead, I'd propose adding<br>
better granularity to the prefixes controlling blacklisting.  I've<br>
attached updated versions of the path which add:<br>
<br>
# Disable redzones and initialization order<br>
global: [wildcard]<br>
# Disables initialization order but not redzones<br>
global-init: [wildcard]<br></blockquote><div><br></div><div>Sounds good. r163199 and r163207 (with minor lint fixes).</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
I can add a global-redzones prefix (disable redzones, but not<br>
initialization), </blockquote><div><br></div><div>That'll be an overkill.</div><div><br></div><div>Thanks! </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

but that'll require a bit of refactoring in the<br>
instrumentation pass.  Let me know if the general approach is<br>
acceptable / if there's any particular feedback on the patch!<br>
<br>
Thanks for the review,<br>
Reid<br>
<div><div><br>
On Mon, Sep 3, 2012 at 7:20 AM, Alexey Samsonov <<a href="mailto:samsonov@google.com" target="_blank">samsonov@google.com</a>> wrote:<br>
><br>
><br>
> On Wed, Aug 29, 2012 at 4:10 PM, Kostya Serebryany <<a href="mailto:kcc@google.com" target="_blank">kcc@google.com</a>> wrote:<br>
>><br>
>> First question: do we want to use the same blacklist flag for both regular<br>
>> asan functionality and the global init checker?<br>
>> Suppose you have a few globals in foo.cc that you want to ignore.<br>
>> Then you add src:foo.cc to the blacklist file and suddenly you disable all<br>
>> of asan instrumentation for this file.<br>
>> Maybe we better add a new flag, -asan-global-init-blacklist ?<br>
><br>
><br>
> Reid, WDYT?<br>
><br>
>><br>
>><br>
>><br>
>> --kcc<br>
>><br>
>> On Wed, Aug 29, 2012 at 12:49 AM, Reid Watson <<a href="mailto:reidw@google.com" target="_blank">reidw@google.com</a>> wrote:<br>
>>><br>
>>> Hello -- two patches here,<br>
>>><br>
>>> The first adds lit_tests for the ASan blacklist and initialization<br>
>>> order checking system.<br>
>>><br>
>>> The second is a one line change to the ASan instrumentation pass which<br>
>>> probably should have been included in the previous blacklist patch.<br>
>>> The tests will fail if this patch is not applied.<br>
>>><br>
>>> All the best,<br>
>>> Reid<br>
>>><br>
>>> _______________________________________________<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>
>><br>
>><br>
>> _______________________________________________<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>
><br>
><br>
><br>
> --<br>
> Alexey Samsonov, MSK<br>
><br>
</div></div></blockquote></div><br>