[libcxxabi] [libunwind] [llvm] fix Wasm exceptions + coop threading + shared libraries (PR #222747)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 20 13:11:10 PDT 2026


================
@@ -339,6 +339,14 @@ void WasmEHPrepareImpl::prepareEHPad(BasicBlock *BB, bool NeedPersonality,
   }
   IRB.SetInsertPoint(CatchCI->getNextNode());
 
+  Instruction *LPadContext = IRB.CreateCall(GetWasmLPadContextF);
----------------
aheejin wrote:

```suggestion
  Instruction *LPadContext =
      IRB.CreateCall(GetWasmLPadContextF, {}, OperandBundleDef("funclet", FPI));
```
We need a funclet bundle operand

https://github.com/llvm/llvm-project/pull/222747


More information about the cfe-commits mailing list