summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerIOPosix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerIOPosix.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerIOPosix.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerIOPosix.cpp b/llvm/lib/Fuzzer/FuzzerIOPosix.cpp
index 2dc2c61b999..40209a034e3 100644
--- a/llvm/lib/Fuzzer/FuzzerIOPosix.cpp
+++ b/llvm/lib/Fuzzer/FuzzerIOPosix.cpp
@@ -109,6 +109,11 @@ bool IsInterestingCoverageFile(const std::string &FileName) {
return true;
}
+
+void RawPrint(const char *Str) {
+ write(2, Str, strlen(Str));
+}
+
} // namespace fuzzer
#endif // LIBFUZZER_POSIX
OpenPOWER on IntegriCloud