Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/iwasm/compilation/aot_orc_extra2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ MyPassManager::add(llvm::Pass *P)
// a hack to avoid having a copy of the whole addPassesToEmitMC.
// we want to add PrintStackSizes before FreeMachineFunctionPass.
if (P->getPassName() == "Free MachineFunction") {
delete P;
return;
}
llvm::legacy::PassManager::add(P);
Expand Down
Loading