summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2019-02-13 04:04:45 +0000
committerKostya Serebryany <kcc@google.com>2019-02-13 04:04:45 +0000
commitd085748484193f3b4f9c73fa339b4390f7092f41 (patch)
tree698ad78e84b6b0a799d8c8cf2ad8c4f072372373 /compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
parent55fb5314b39efe168538727df68b104913641d5d (diff)
downloadbcm5719-llvm-d085748484193f3b4f9c73fa339b4390f7092f41.tar.gz
bcm5719-llvm-d085748484193f3b4f9c73fa339b4390f7092f41.zip
[libFuzzer] a bit of refactoring of the fork mode
llvm-svn: 353910
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp')
-rw-r--r--compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp b/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
index bb33343b76a..00256ca25ef 100644
--- a/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
+++ b/compiler-rt/lib/fuzzer/FuzzerIOWindows.cpp
@@ -140,6 +140,15 @@ void ListFilesInDirRecursive(const std::string &Dir, long *Epoch,
*Epoch = E;
}
+
+void IterateDirRecurisve(const std::string &Dir,
+ void (*DirPreCallback)(const std::string &Dir),
+ void (*DirPostCallback)(const std::string &Dir),
+ void (*FileCallback)(const std::string &Dir)) {
+ // Unimplemented.
+ // TODO: implement, and then implement ListFilesInDirRecursive via this one.
+}
+
char GetSeparator() {
return '\\';
}
OpenPOWER on IntegriCloud