[PATCH] D21049: [LibFuzzer] Fix some unit test crashes on OSX.

Kostya Serebryany via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 21:47:25 PDT 2016


kcc added a comment.

The problem with linking asan + no-asan is this: 
https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow#false-positives

I am not aware of any other issue caused by linking asan and no-asan together. 
Before fixing this problem I will need to understand it more. 
And it is very unlikely that the correct fix is in cmake. 
Remember -- the majority of the users are not going to build libFuzzer with cmake
and thus we should not be fixing bugs in cmake, unless they are test-specific.

It is quite likely that we'll need to get rid of STL in libFuzzer completely, for this and for other reasons. 
It is even stated in the docs (search for stl in http://llvm.org/docs/LibFuzzer.html), although I am not quite ready to do that yet.


http://reviews.llvm.org/D21049





More information about the llvm-commits mailing list