[PATCH] D148568: [FuzzMutate] InsertFunctionStrategy
Peter Rong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 13:57:36 PDT 2023
Peter created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
Peter requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
InsertFunctionStrategy does two things:
1. Add a random function declaration or definition to the module. This would replace previously used `createEmptyFunction`.
2. Add a random function call between instructions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D148568
Files:
llvm/include/llvm/FuzzMutate/IRMutator.h
llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
llvm/lib/FuzzMutate/IRMutator.cpp
llvm/lib/FuzzMutate/RandomIRBuilder.cpp
llvm/unittests/FuzzMutate/StrategiesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148568.514394.patch
Type: text/x-patch
Size: 8345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230417/fd64b909/attachment.bin>
More information about the llvm-commits
mailing list