llvm-capstone/llvm/lib/FuzzMutate
Igor Laevsky 0cdf7fdc48 [FuzzMutate] Bailout from injecting into empty basic blocks.
In rare cases we can receive request to inject into completelly empty basic block. In the normal case 
all basic blocks contain at least terminator instruction, but it is possible that the only instruction is 
catchpad instruction which is not part of the instruction iterator. This case seems rare enough to not care
about it.
Submiting without review, since it seems almost NFC. I couldn't come up with any reasonable way to test this.

llvm-svn: 319444
2017-11-30 15:41:58 +00:00
..
CMakeLists.txt Move some CLI utils out of llvm-isel-fuzzer and into the library 2017-09-02 23:43:04 +00:00
FuzzerCLI.cpp [FuzzMutate] NFC. Move parseModule and writeModule from llvm-isel-fuzzer into FuzzMutate. 2017-11-16 15:23:08 +00:00
IRMutator.cpp [FuzzMutate] Bailout from injecting into empty basic blocks. 2017-11-30 15:41:58 +00:00
LLVMBuild.txt [FuzzMutate] Fix windows build after rL318407. 2017-11-16 16:17:32 +00:00
OpDescriptor.cpp Re-apply "Introduce FuzzMutate library" 2017-08-21 22:57:06 +00:00
Operations.cpp [FuzzMutate] Correctly handle vector types in the insertvalue operation 2017-11-30 15:31:13 +00:00
RandomIRBuilder.cpp [FuzzMutate] Don't use index operands as sinks 2017-11-30 15:29:16 +00:00