summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerIO.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2016-09-21 01:04:43 +0000
committerKostya Serebryany <kcc@google.com>2016-09-21 01:04:43 +0000
commit09aa01a6f86e348800d76d7e7008eba9b2d5803f (patch)
tree849d0a42ee7c70ace285c1ea56b5c92f02066970 /llvm/lib/Fuzzer/FuzzerIO.cpp
parent3eb83b4a0df13cd5d7f3ae4a04253c909163eb03 (diff)
downloadbcm5719-llvm-09aa01a6f86e348800d76d7e7008eba9b2d5803f.tar.gz
bcm5719-llvm-09aa01a6f86e348800d76d7e7008eba9b2d5803f.zip
[libFuzzer] refactoring: move the Corpus into a separate class; delete two unused experimental features
llvm-svn: 282042
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerIO.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerIO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerIO.cpp b/llvm/lib/Fuzzer/FuzzerIO.cpp
index 0e0c4e989cc..5b394b641a3 100644
--- a/llvm/lib/Fuzzer/FuzzerIO.cpp
+++ b/llvm/lib/Fuzzer/FuzzerIO.cpp
@@ -30,7 +30,7 @@ bool IsFile(const std::string &Path) {
return S_ISREG(St.st_mode);
}
-static long GetEpoch(const std::string &Path) {
+long GetEpoch(const std::string &Path) {
struct stat St;
if (stat(Path.c_str(), &St))
return 0; // Can't stat, be conservative.
OpenPOWER on IntegriCloud