[PATCH] D21049: [LibFuzzer] Fix some unit test crashes on OSX.
Dan Liew via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 9 22:39:46 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL272374: [LibFuzzer] Fix some unit test crashes on OSX. (authored by delcypher).
Changed prior to commit:
http://reviews.llvm.org/D21049?vs=60306&id=60314#toc
Repository:
rL LLVM
http://reviews.llvm.org/D21049
Files:
llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
Index: llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
===================================================================
--- llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
+++ llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
@@ -1,6 +1,10 @@
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
+// Avoid ODR violations (LibFuzzer is built without ASan and this test is built
+// with ASan) involving C++ standard library types when using libcxx.
+#define _LIBCPP_HAS_NO_ASAN
+
#include "FuzzerInternal.h"
#include "gtest/gtest.h"
#include <memory>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21049.60314.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160610/2bd912fd/attachment.bin>
More information about the llvm-commits
mailing list