================
@@ -301,7 +345,19 @@ void CIRGenFunction::popCleanupBlock() {
assert(!cir::MissingFeatures::ehCleanupScopeRequiresEHCleanup());
ehStack.popCleanup();
scope.markEmitted();
+
+ mlir::Block &block = cleanupScope.getCleanupRegion().back();
----------------
andykaylor wrote:
Is `cleanupScope` guaranteed to be non-null here? I would add at least an
assert.
https://github.com/llvm/llvm-project/pull/180276
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits