[libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int inste...
authorKostya Serebryany <kcc@google.com>
Fri, 2 Oct 2015 23:34:06 +0000 (23:34 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 2 Oct 2015 23:34:06 +0000 (23:34 +0000)
commit9906eefc84affaf8b63a2ae1682131a70fe12182
treec08ff39a0a035e90221baf1a5d4891bcefe59338
parentcf7b076df0c4e278f39707de5748396bff54928a
[libFuzzer] make LLVMFuzzerTestOneInput (the fuzzer target function) return int instead of void. The actual return value is not *yet* used (and expected to be 0). This change is API breaking, so the fuzzers will need to be updated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249214 91177308-0d34-0410-b5e6-96231b3b80d8
23 files changed:
docs/LibFuzzer.rst
lib/Fuzzer/FuzzerInterface.h
lib/Fuzzer/FuzzerInternal.h
lib/Fuzzer/FuzzerLoop.cpp
lib/Fuzzer/FuzzerMain.cpp
lib/Fuzzer/test/CounterTest.cpp
lib/Fuzzer/test/CxxTokensTest.cpp
lib/Fuzzer/test/FourIndependentBranchesTest.cpp
lib/Fuzzer/test/FullCoverageSetTest.cpp
lib/Fuzzer/test/InfiniteTest.cpp
lib/Fuzzer/test/MemcmpTest.cpp
lib/Fuzzer/test/NullDerefTest.cpp
lib/Fuzzer/test/SimpleCmpTest.cpp
lib/Fuzzer/test/SimpleDictionaryTest.cpp
lib/Fuzzer/test/SimpleHashTest.cpp
lib/Fuzzer/test/SimpleTest.cpp
lib/Fuzzer/test/StrcmpTest.cpp
lib/Fuzzer/test/StrncmpTest.cpp
lib/Fuzzer/test/SwitchTest.cpp
lib/Fuzzer/test/TimeoutTest.cpp
lib/Fuzzer/test/UserSuppliedFuzzerTest.cpp
tools/llvm-as-fuzzer/llvm-as-fuzzer.cpp
tools/llvm-mc-fuzzer/llvm-mc-fuzzer.cpp