summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerIO.h
diff options
context:
space:
mode:
authorMarcos Pividori <mpividori@google.com>2017-01-22 01:27:47 +0000
committerMarcos Pividori <mpividori@google.com>2017-01-22 01:27:47 +0000
commit60cc2fbba11aa2f856049cd81bc4c7275ba94da5 (patch)
tree9b666070b7145ca80f77cf6af9b80695909f8948 /llvm/lib/Fuzzer/FuzzerIO.h
parent403007e3c11f482e4465e8d67b87dd11f886e868 (diff)
downloadbcm5719-llvm-60cc2fbba11aa2f856049cd81bc4c7275ba94da5.tar.gz
bcm5719-llvm-60cc2fbba11aa2f856049cd81bc4c7275ba94da5.zip
[libFuzzer] Portable implementation of `IsInterestingCoverageFile()`.
For Posix systems and Windows, we need to consider different cases. Differential Revision: https://reviews.llvm.org/D28633 llvm-svn: 292738
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerIO.h')
-rw-r--r--llvm/lib/Fuzzer/FuzzerIO.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerIO.h b/llvm/lib/Fuzzer/FuzzerIO.h
index 15bfd3d3472..17cf2ab6ac1 100644
--- a/llvm/lib/Fuzzer/FuzzerIO.h
+++ b/llvm/lib/Fuzzer/FuzzerIO.h
@@ -40,6 +40,8 @@ std::string DirName(const std::string &FileName);
// Returns path to a TmpDir.
std::string TmpDir();
+bool IsInterestingCoverageFile(const std::string &FileName);
+
void DupAndCloseStderr();
void CloseStdout();
OpenPOWER on IntegriCloud