File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 44//!
55//! - [ARM Compiler v 6.10 - armclang Reference Guide](https://developer.arm.com/docs/100067/0610)
66
7+ #[ cfg( test) ]
8+ use stdsimd_test:: assert_instr;
9+
710/// This intrinsic inserts a BKPT instruction into the instruction stream generated by the compiler
811///
912/// It enables you to include a breakpoint instruction in your Rust code
1619/// [ARM's documentation](https://developer.arm.com/docs/100067/latest/compiler-specific-intrinsics/__breakpoint-intrinsic)
1720///
1821/// **NOTE** Due compiler limitations this function only supports the range `0...255` in A32 mode.
19- #[ cfg_attr( test, assert_instr( bkpt) ) ]
22+ #[ cfg_attr( test, assert_instr( bkpt, val = 0 ) ) ]
2023#[ inline( always) ]
2124#[ rustc_args_required_const( 0 ) ]
2225pub unsafe fn __breakpoint ( val : i32 ) {
You can’t perform that action at this time.
0 commit comments