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

Should the existing trap and unreachable emission in `emitImplicitReturn` be 
updated to use these functions? At least in the case of unreachable, the 
current code will miss the future sanitizer handling.

https://github.com/llvm/llvm-project/pull/151363
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to