We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b237870 commit 9a23968Copy full SHA for 9a23968
core/iwasm/compilation/aot_orc_extra2.cpp
@@ -85,6 +85,7 @@ MyPassManager::add(llvm::Pass *P)
85
// a hack to avoid having a copy of the whole addPassesToEmitMC.
86
// we want to add PrintStackSizes before FreeMachineFunctionPass.
87
if (P->getPassName() == "Free MachineFunction") {
88
+ delete P;
89
return;
90
}
91
llvm::legacy::PassManager::add(P);
0 commit comments