[clang] [CIR] Add CIRGen for cir.unreachable and cir.trap (PR #151363)

Sirui Mu via cfe-commits cfe-commits at lists.llvm.org
Sat Aug 2 02:05:48 PDT 2025


================
@@ -1780,6 +1780,20 @@ LValue CIRGenFunction::emitLoadOfReferenceLValue(Address refAddr,
                         pointeeBaseInfo);
 }
 
+void CIRGenFunction::emitTrap(mlir::Location loc, bool createNewBlock) {
----------------
Lancern wrote:

I added a missing feature call for sanitizers in `emitImplicitReturn` to track this.

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


More information about the cfe-commits mailing list