[llvm-commits] "[PATCH] AddressSanitizer tests for initialization order and blacklist"

Alexey Samsonov samsonov at google.com
Wed Aug 29 06:31:05 PDT 2012


On Wed, Aug 29, 2012 at 4:10 PM, Kostya Serebryany <kcc at google.com> wrote:

> First question: do we want to use the same blacklist flag for both regular
> asan functionality and the global init checker?
> Suppose you have a few globals in foo.cc that you want to ignore.
> Then you add src:foo.cc to the blacklist file and suddenly you disable all
> of asan instrumentation for this file.
> Maybe we better add a new flag, -asan-global-init-blacklist ?
>

Hm, why can't we add several "global:*badGlobal*" lines to the blacklist
file?
(I assume it is supported from reading the test cases).



>
>
> --kcc
>
> On Wed, Aug 29, 2012 at 12:49 AM, Reid Watson <reidw at google.com> wrote:
>
>> Hello -- two patches here,
>>
>> The first adds lit_tests for the ASan blacklist and initialization
>> order checking system.
>>
>> The second is a one line change to the ASan instrumentation pass which
>> probably should have been included in the previous blacklist patch.
>> The tests will fail if this patch is not applied.
>>
>> All the best,
>> Reid
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
>>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>


-- 
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120829/a7f66c62/attachment.html>


More information about the llvm-commits mailing list