summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtil.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerUtil.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.cpp b/llvm/lib/Fuzzer/FuzzerUtil.cpp
index 420f05d05c4..c2ae94c4d3d 100644
--- a/llvm/lib/Fuzzer/FuzzerUtil.cpp
+++ b/llvm/lib/Fuzzer/FuzzerUtil.cpp
@@ -250,13 +250,6 @@ void SleepSeconds(int Seconds) {
}
int GetPid() { return getpid(); }
-int SignalToMainThread() {
-#ifdef __linux__
- return syscall(SYS_tgkill, GetPid(), GetPid(), SIGALRM);
-#else
- return 0;
-#endif
-}
std::string Base64(const Unit &U) {
static const char Table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
OpenPOWER on IntegriCloud