[PATCH] D138123: [Verifier][WinEH] Check funclet tokens on intrinsic calls that may lower to function calls

Stefan Gränitz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 16 05:57:39 PST 2022


sgraenitz added inline comments.


================
Comment at: llvm/test/Transforms/ObjCARC/invoke-2.ll:42
   tail call void @llvm.objc.end_catch(), !clang.arc.no_objc_arc_exceptions !0
-  br label %eh.cont
+  catchret from %4 to label %eh.cont
 }
----------------
The verifier already caught this, which I assume is a bug that sat here unnoticed for years -- `catchpad` without `catchret`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138123/new/

https://reviews.llvm.org/D138123



More information about the llvm-commits mailing list