Use WeakVH to keep track of calls with operand bundles in CloneCodeInfo
[oota-llvm.git] / lib / Fuzzer / FuzzerMain.cpp
index c4dffb45d166af62643e0368e04239c4c11337c6..c5af5b059091026ac0e5266ca8530a3ba72eac7d 100644 (file)
@@ -13,7 +13,7 @@
 #include "FuzzerInternal.h"
 
 // This function should be defined by the user.
-extern "C" void LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
+extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size);
 
 int main(int argc, char **argv) {
   return fuzzer::FuzzerDriver(argc, argv, LLVMFuzzerTestOneInput);