diff options
author | hexcoder- <heiko@hexco.de> | 2021-10-16 12:56:31 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2021-10-16 12:56:31 +0200 |
commit | c49b30879474042f16dcf8de200c603a47965ea4 (patch) | |
tree | fa098c42b2f7b4787beb73556bb9fe45acdbcd0a /instrumentation/compare-transform-pass.so.cc | |
parent | 379c5806580dd58824df0f4fb7d215841d1bd459 (diff) | |
download | afl++-c49b30879474042f16dcf8de200c603a47965ea4.tar.gz |
switch PreservedAnalyses from none to all
Diffstat (limited to 'instrumentation/compare-transform-pass.so.cc')
-rw-r--r-- | instrumentation/compare-transform-pass.so.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/compare-transform-pass.so.cc b/instrumentation/compare-transform-pass.so.cc index e6695185..ce8efaa7 100644 --- a/instrumentation/compare-transform-pass.so.cc +++ b/instrumentation/compare-transform-pass.so.cc @@ -95,7 +95,7 @@ llvmGetPassPluginInfo() { PB.registerPipelineParsingCallback( [](StringRef Name, ModulePassManager &MPM, ArrayRef<PipelineElement>) { if ( Name == "comparetransform" ) { - MPM.addPass(CompareTransform); + MPM.addPass(CompareTransform()); return true; } else { return false; @@ -622,7 +622,7 @@ PreservedAnalyses CompareTransform::run(Module &M, ModuleAnalysisManager &MAM) { else be_quiet = 1; - auto PA = PreservedAnalyses::none(); + auto PA = PreservedAnalyses::all(); transformCmps(M, true, true, true, true, true); verifyModule(M); |