[llvm] r307824 - [libFuzzer] Do not use LLVM ostream in tests
George Karpenkov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 11:14:19 PDT 2017
Author: george.karpenkov
Date: Wed Jul 12 11:14:19 2017
New Revision: 307824
URL: http://llvm.org/viewvc/llvm-project?rev=307824&view=rev
Log:
[libFuzzer] Do not use LLVM ostream in tests
Differential Revision: https://reviews.llvm.org/D35312
Modified:
llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
Modified: llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp?rev=307824&r1=307823&r2=307824&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp (original)
+++ llvm/trunk/lib/Fuzzer/test/FuzzerUnittest.cpp Wed Jul 12 11:14:19 2017
@@ -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"
More information about the llvm-commits
mailing list