diff options
author | Matt Morehouse <mascasa@google.com> | 2018-08-29 18:40:41 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2018-08-29 18:40:41 +0000 |
commit | cf311cfc20a363ba1ee1a8115ab307d6745a6b73 (patch) | |
tree | b08c29bb56ec4cd15a376d479731e5c5ef9ec4e8 /compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp | |
parent | 8d8e1235abf72375b77ff7ad1e3b56dce32d23c0 (diff) | |
download | bcm5719-llvm-cf311cfc20a363ba1ee1a8115ab307d6745a6b73.tar.gz bcm5719-llvm-cf311cfc20a363ba1ee1a8115ab307d6745a6b73.zip |
Revert "[libFuzzer] Port to Windows"
This reverts r340949 due to bot breakage again.
llvm-svn: 340954
Diffstat (limited to 'compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp')
-rw-r--r-- | compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp b/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp index 401b4cbbf74..17e884d3c4c 100644 --- a/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp +++ b/compiler-rt/lib/fuzzer/FuzzerIOPosix.cpp @@ -46,13 +46,6 @@ size_t FileSize(const std::string &Path) { return St.st_size; } -std::string Basename(const std::string &Path) { - size_t Pos = Path.rfind(GetSeparator()); - if (Pos == std::string::npos) return Path; - assert(Pos < Path.size()); - return Path.substr(Pos + 1); -} - void ListFilesInDirRecursive(const std::string &Dir, long *Epoch, Vector<std::string> *V, bool TopDir) { auto E = GetEpoch(Dir); |