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

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 16:59:25 PDT 2016


delcypher added a comment.

In http://reviews.llvm.org/D21049#451718, @kcc wrote:

> That's way better, but can you try one more step? 
>  Move this into test/FuzzerUnittest.cpp


Putting

  #define _LIBCPP_HAS_NO_ASAN

at the top of `test/FuzzerUnittest.cpp` seems to work. Unfortunately I can't guard that with `#if defined(_LIBCPP_VERSION)` because that doesn't seem to work unless I've included a header file from libc++ first.


http://reviews.llvm.org/D21049





More information about the llvm-commits mailing list