[llvm] [FuzzMutate] Prevent the mutator from generating illegal memory operations (PR #144885)
Manuel Carrasco via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 02:03:46 PDT 2025
================
@@ -89,23 +89,30 @@ void IterateOnSource(StringRef Source, IRMutator &Mutator) {
}
}
-static void mutateAndVerifyModule(StringRef Source,
- std::unique_ptr<IRMutator> &Mutator,
- int repeat = 100) {
+static void
+mutateAndVerifyModule(StringRef Source, std::unique_ptr<IRMutator> &Mutator,
+ int repeat = 100,
+ const std::function<void(Module &)> *Check = nullptr) {
----------------
mgcarrasco wrote:
Thanks again. The changes are implemented now.
https://github.com/llvm/llvm-project/pull/144885
More information about the llvm-commits
mailing list