We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a56fc commit 67b7839Copy full SHA for 67b7839
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -2057,7 +2057,8 @@ static void findUnwindDestinations(
2057
break;
2058
} else if (isa<CleanupPadInst>(Pad)) {
2059
// Stop on cleanup pads. Cleanups are always funclet entries for all known
2060
- // personalities.
+ // personalities except Wasm. And in Wasm this becomes a catch_all(_ref),
2061
+ // which always catches an exception.
2062
UnwindDests.emplace_back(FuncInfo.getMBB(EHPadBB), Prob);
2063
UnwindDests.back().first->setIsEHScopeEntry();
2064
// In Wasm, EH scopes are not funclets
0 commit comments