diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Fuzzer/FuzzerUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.cpp b/llvm/lib/Fuzzer/FuzzerUtil.cpp index f4c6fa7d0ba..f06060ba8af 100644 --- a/llvm/lib/Fuzzer/FuzzerUtil.cpp +++ b/llvm/lib/Fuzzer/FuzzerUtil.cpp @@ -246,7 +246,7 @@ bool ParseDictionaryFile(const std::string &Text, std::vector<Unit> *Units) { } void SleepSeconds(int Seconds) { - std::this_thread::sleep_for(std::chrono::seconds(Seconds)); + sleep(Seconds); // Use C API to avoid coverage from instrumented libc++. } int GetPid() { return getpid(); } |

