[PATCH] D148568: [FuzzMutate] InsertFunctionStrategy
Peter Rong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 20:50:57 PDT 2023
Peter updated this revision to Diff 514515.
Peter added a comment.
update
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148568/new/
https://reviews.llvm.org/D148568
Files:
llvm/lib/FuzzMutate/IRMutator.cpp
Index: llvm/lib/FuzzMutate/IRMutator.cpp
===================================================================
--- llvm/lib/FuzzMutate/IRMutator.cpp
+++ llvm/lib/FuzzMutate/IRMutator.cpp
@@ -355,7 +355,7 @@
FunctionType *FTy = F->getFunctionType();
SmallVector<fuzzerop::SourcePred, 2> SourcePreds;
- if (F->arg_empty()) {
+ if (!F->arg_empty()) {
for (Type *ArgTy : FTy->params()) {
SourcePreds.push_back(fuzzerop::onlyType(ArgTy));
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148568.514515.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/38d5f988/attachment.bin>
More information about the llvm-commits
mailing list