summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerIOWindows.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-01-26 01:04:54 +0000
committerKostya Serebryany <kcc@google.com>2017-01-26 01:04:54 +0000
commitd0ecb4c69e7e74048b527daa72baac1318d5f306 (patch)
tree04449efe178ccc240285fd65f7d9d85b88f052fb /llvm/lib/Fuzzer/FuzzerIOWindows.cpp
parent5dd55e8405d66842219883a55563ec45cc010da4 (diff)
downloadbcm5719-llvm-d0ecb4c69e7e74048b527daa72baac1318d5f306.tar.gz
bcm5719-llvm-d0ecb4c69e7e74048b527daa72baac1318d5f306.zip
[libFuzzer] simplify the code for __sanitizer_cov_trace_pc_guard and make sure it is not asan/msan-instrumented
llvm-svn: 293125
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerIOWindows.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerIOWindows.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerIOWindows.cpp b/llvm/lib/Fuzzer/FuzzerIOWindows.cpp
index 1d82f416272..84941bae28f 100644
--- a/llvm/lib/Fuzzer/FuzzerIOWindows.cpp
+++ b/llvm/lib/Fuzzer/FuzzerIOWindows.cpp
@@ -299,6 +299,11 @@ bool IsInterestingCoverageFile(const std::string &FileName) {
return true;
}
+void RawPrint(const char *Str) {
+ // Not tested, may or may not work. Fix if needed.
+ Printf("%s", Str);
+}
+
} // namespace fuzzer
#endif // LIBFUZZER_WINDOWS
OpenPOWER on IntegriCloud