[libFuzzer] don't report memory leaks if we are dying due to a timeout (just use...
authorKostya Serebryany <kcc@google.com>
Thu, 24 Mar 2016 01:32:08 +0000 (01:32 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 24 Mar 2016 01:32:08 +0000 (01:32 +0000)
commit315167339eb5f146040033b555c00ee0671ac72a
tree3c8c21c4fb43ce69032d958a41261c4afd5413c8
parent37df19ebee81322aa018af65cae57eafde6c5350
[libFuzzer] don't report memory leaks if we are dying due to a timeout (just use _Exit instead of exit in the timeout callback)

llvm-svn: 264237
llvm/lib/Fuzzer/FuzzerLoop.cpp
llvm/lib/Fuzzer/test/CMakeLists.txt
llvm/lib/Fuzzer/test/LeakTimeoutTest.cpp [new file with mode: 0644]
llvm/lib/Fuzzer/test/fuzzer-leak.test [new file with mode: 0644]
llvm/lib/Fuzzer/test/fuzzer.test