summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerUtil.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-03-31 20:13:20 +0000
committerKostya Serebryany <kcc@google.com>2015-03-31 20:13:20 +0000
commit52a788e5037d9cd8af981a1b64af9d76b7b6b798 (patch)
treef5bcb681f3ce80ae15052121401bde1272ffe913 /llvm/lib/Fuzzer/FuzzerUtil.cpp
parentd2edb241e2397bb623e5e86a33d31d1cca7c342e (diff)
downloadbcm5719-llvm-52a788e5037d9cd8af981a1b64af9d76b7b6b798.tar.gz
bcm5719-llvm-52a788e5037d9cd8af981a1b64af9d76b7b6b798.zip
[fuzzer] Add support for token-based fuzzing (e.g. for C++). Allow string flags.
llvm-svn: 233745
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerUtil.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerUtil.cpp b/llvm/lib/Fuzzer/FuzzerUtil.cpp
index 679f289a1c3..3f62a1f1d1e 100644
--- a/llvm/lib/Fuzzer/FuzzerUtil.cpp
+++ b/llvm/lib/Fuzzer/FuzzerUtil.cpp
@@ -43,7 +43,7 @@ std::string Hash(const Unit &in) {
}
static void AlarmHandler(int, siginfo_t *, void *) {
- Fuzzer::AlarmCallback();
+ Fuzzer::StaticAlarmCallback();
}
void SetTimer(int Seconds) {
OpenPOWER on IntegriCloud