1 // min-lldb-version: 310
3 // We have to ignore android because of this issue:
4 // https://github.com/rust-lang/rust/issues/74847
7 // We need to use inline assembly, so just use one platform
12 // === GDB TESTS ===================================================================================
16 // gdb-command:info args
17 // gdb-check:No arguments.
18 // gdb-command:continue
20 // === LLDB TESTS ==================================================================================
24 // lldb-command:frame variable
25 // lldbg-check:(unsigned long) = 111 (unsigned long) = 222
26 // lldbr-check:(unsigned long) = 111 (unsigned long) = 222
27 // lldb-command:continue
31 #![feature(naked_functions)]
32 #![feature(omit_gdb_pretty_printer_section)]
33 #![omit_gdb_pretty_printer_section]
40 extern "C" fn naked(x: usize, y: usize) {
41 unsafe { asm!("ret"); } // #break