dtcxzyw wrote:

> willreturn means we eliminate the call

The ubsan handler cannot be eliminated because `inaccessiblemem: readwrite` 
indicates that it has externally observable side effects. 

BTW, I just worry that some risky instructions (e.g., divided by zero) may be 
moved before the handler.



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

Reply via email to