diff options
author | Peter Rong <PeterRong96@gmail.com> | 2023-04-17 13:57:29 -0700 |
---|---|---|
committer | Peter Rong <PeterRong96@gmail.com> | 2023-04-19 20:09:12 -0700 |
commit | 6998b34c7ac889a586d22b4aa69580899b716452 (patch) | |
tree | 42b67ecbce151913f3e21171cec8862fc5eb5e0e /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | 038536acaf271cb614fd2248becf1cc2c5e700c7 (diff) | |
download | llvm-6998b34c7ac889a586d22b4aa69580899b716452.zip llvm-6998b34c7ac889a586d22b4aa69580899b716452.tar.gz llvm-6998b34c7ac889a586d22b4aa69580899b716452.tar.bz2 |
[FuzzMutate] InsertFunctionStrategy
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.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D148568
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions