Closed
Description
These three intrinsics should, IMO, abort instead of panic. The main reason we make them panic in rustc is that we want a good backtrace, and doing that from codegen is hard. But causing a panic is easy thanks to libcore having panic support, and std hooking into it.
But in Miri, we can show great backtraces on abort! So, there is no reason to use panics IMO. So I propose that we extend this with an abort message:
Line 56 in 704228d
and then cause an abort from the intrinsic.
@elichai that they would look into this.