[cfe-dev] Leak sanitizer: trouble getting --fsanitize-blacklist argument to work

Kostya Serebryany kcc at google.com
Mon Oct 6 10:52:03 PDT 2014


On Fri, Oct 3, 2014 at 2:46 PM, Andrew C. Morrow <andrew.c.morrow at gmail.com>
wrote:

> I'm having difficulty getting leak suppressions to work with the
> -fsanitize-blacklist argument on clang-3.4. The same suppressions file
> works correctly when I specify it via LSAN_OPTIONS.


Yes, this is the only way suppressions are expected to work.

-fsanitize-blacklist does not apply to lsan in any way.
If there is a part of documentation that made you think otherwise, please
let us know -- we may need to fix it.

--kcc


> I posted a more
> detailed writeup to cfe-users yesterday, but there doesn't seem to be
> much traffic there.
>
> The details are here:
> http://lists.cs.uiuc.edu/pipermail/cfe-users/2014-October/000574.html
>
> Are there any known problems using -fsanitize-blacklist with the leak
> sanitizer?
>
> Thanks,
> Andrew
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141006/8ceee0d4/attachment.html>


More information about the cfe-dev mailing list