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

Dan Liew via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 7 11:39:47 PDT 2016


delcypher added a comment.

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

> Ok... if this is specific to unit tests (at least now) it does not affect the users and thus we can make a change in cmake rules for just the unit tests. 
>  However the current change looks too big for that. Can you simply add  _LIBCPP_HAS_NO_ASAN to the unit test code (and will that work?)


That will work provided that the `_LICPP_HAS_NO_ASAN` define causes libstdc++ to behave weirdly. I'll revise this patch and test.


http://reviews.llvm.org/D21049





More information about the llvm-commits mailing list