summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Fuzzer/FuzzerInterface.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-10-23 18:37:58 +0000
committerKostya Serebryany <kcc@google.com>2015-10-23 18:37:58 +0000
commit94660b3c36798acdb0014f6abe4ca9c1071b91bd (patch)
tree98cd6fb88066103fc3cfb18fd20e8f021ebaf85b /llvm/lib/Fuzzer/FuzzerInterface.cpp
parent382557ec72958959a0503a0ef0cb332cac934917 (diff)
downloadbcm5719-llvm-94660b3c36798acdb0014f6abe4ca9c1071b91bd.tar.gz
bcm5719-llvm-94660b3c36798acdb0014f6abe4ca9c1071b91bd.zip
[libFuzzer] remove some old code; also make __sanitizer_get_total_unique_caller_callee_pairs weak so that newer libFuzzer works with older asan
llvm-svn: 251133
Diffstat (limited to 'llvm/lib/Fuzzer/FuzzerInterface.cpp')
-rw-r--r--llvm/lib/Fuzzer/FuzzerInterface.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Fuzzer/FuzzerInterface.cpp b/llvm/lib/Fuzzer/FuzzerInterface.cpp
index 231e757c8b2..79cb0e40f0e 100644
--- a/llvm/lib/Fuzzer/FuzzerInterface.cpp
+++ b/llvm/lib/Fuzzer/FuzzerInterface.cpp
@@ -19,9 +19,6 @@ void FuzzerRandomLibc::ResetSeed(int seed) { srand(seed); }
size_t FuzzerRandomLibc::Rand() { return rand(); }
-UserSuppliedFuzzer::UserSuppliedFuzzer()
- : OwnRand(true), Rand(new FuzzerRandomLibc(0)), MD(*Rand) {}
-
UserSuppliedFuzzer::UserSuppliedFuzzer(FuzzerRandomBase *Rand)
: Rand(Rand), MD(*Rand) {}
OpenPOWER on IntegriCloud