]> granicus.if.org Git - llvm/commitdiff
[libFuzzer] Do not use LLVM ostream in tests
authorGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:14:19 +0000 (18:14 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Wed, 12 Jul 2017 18:14:19 +0000 (18:14 +0000)
Differential Revision: https://reviews.llvm.org/D35312

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307824 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Fuzzer/test/FuzzerUnittest.cpp

index 812894fd947f99a53c0e45b1b36c0336eaeb6ebd..129519ca5bc0b26666a3689a15b6dd286bef9abe 100644 (file)
@@ -5,6 +5,9 @@
 // with ASan) involving C++ standard library types when using libcxx.
 #define _LIBCPP_HAS_NO_ASAN
 
+// Do not attempt to use LLVM ostream from gtest.
+#define GTEST_NO_LLVM_RAW_OSTREAM 1
+
 #include "FuzzerCorpus.h"
 #include "FuzzerDictionary.h"
 #include "FuzzerInternal.h"