1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/lib/FuzzMutate
Igor Laevsky 68cbe780e4 [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
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
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