2024-01-10 12:36:05 -06:00
|
|
|
//@ ignore-lldb
|
|
|
|
|
|
|
|
// Test that println macro debug info is collapsed with "collapse_macro_debuginfo=external" flag
|
|
|
|
|
2024-02-09 06:39:25 -06:00
|
|
|
//@ compile-flags:-g -C collapse_macro_debuginfo=external
|
2024-01-10 12:36:05 -06:00
|
|
|
|
|
|
|
// === GDB TESTS ===================================================================================
|
|
|
|
|
|
|
|
// gdb-command:run
|
|
|
|
// gdb-command:next
|
|
|
|
// gdb-command:frame
|
|
|
|
// gdb-check:[...]#println_callsite[...]
|
|
|
|
// gdb-command:continue
|
|
|
|
|
|
|
|
macro_rules! outer {
|
|
|
|
() => {
|
|
|
|
println!("one"); // #println_callsite
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let ret = 0; // #break
|
|
|
|
outer!();
|
|
|
|
std::process::exit(ret);
|
|
|
|
}
|