[clang] [CodeGen][ObjC] Initial WebAssembly Support for GNUstep v2 (PR #183753)
Hendrik Hübner via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 17 02:19:04 PDT 2026
================
@@ -182,12 +197,13 @@ void CGObjCRuntime::EmitTryCatchStmt(CodeGenFunction &CGF,
Handler.TypeInfo = GetEHType(CatchDecl->getType());
}
+ // Create a new catch scope
EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size());
for (unsigned I = 0, E = Handlers.size(); I != E; ++I)
Catch->setHandler(I, { Handlers[I].TypeInfo, Handlers[I].Flags }, Handlers[I].Block);
}
- if (useFunclets)
+ if (IsMSVC)
----------------
HendrikHuebner wrote:
Please add curly braces around multi-line blocks. However, My understanding is that this entire block is broke, since were trying to push a finally cleanup in the middle of a catch scope... Does any of this actually work? Otherwise it might be better to remove it all together.
https://github.com/llvm/llvm-project/pull/183753
More information about the cfe-commits
mailing list