[PATCH] D40393: [FuzzMutate] Don't crash when we can't remove instruction from empty function
Igor Laevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 07:19:42 PST 2017
igor-laevsky created this revision.
Herald added a subscriber: mgorny.
We don't need to crash when we decide to delete something from the empty function. It is possible that module has other non empty functions which we are going to choose on the next fuzzer iteration.
https://reviews.llvm.org/D40393
Files:
lib/FuzzMutate/IRMutator.cpp
unittests/FuzzMutate/CMakeLists.txt
unittests/FuzzMutate/StrategiesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40393.124081.patch
Type: text/x-patch
Size: 4485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171123/9809b9f1/attachment.bin>
More information about the llvm-commits
mailing list