[libFuzzer] simplify the code for use_cmp, also use the position hint when available...
authorKostya Serebryany <kcc@google.com>
Tue, 25 Oct 2016 02:04:43 +0000 (02:04 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 25 Oct 2016 02:04:43 +0000 (02:04 +0000)
commit3364f907836d50482f77c7def3952b09e99caa97
tree9891c2d477c59f4a0baeb65b8066650d183b060c
parent7695cb6da8021ef610ffbcf3b296a16688c7930d
[libFuzzer] simplify the code for use_cmp, also use the position hint when available, add a test

llvm-svn: 285049
llvm/lib/Fuzzer/FuzzerDictionary.h
llvm/lib/Fuzzer/FuzzerLoop.cpp
llvm/lib/Fuzzer/FuzzerMutate.cpp
llvm/lib/Fuzzer/FuzzerMutate.h
llvm/lib/Fuzzer/FuzzerTracePC.cpp
llvm/lib/Fuzzer/FuzzerTracePC.h
llvm/lib/Fuzzer/test/SimpleCmpTest.cpp
llvm/lib/Fuzzer/test/SwapCmpTest.cpp
llvm/lib/Fuzzer/test/swap-cmp.test [new file with mode: 0644]