mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-11 14:33:32 +00:00
tests: support -Zsymbol-mangling-version=v0 being the default.
This commit is contained in:
parent
cb7890e791
commit
f60d333aff
@ -1,5 +1,5 @@
|
||||
// This test does not passed with gdb < 8.0. See #53497.
|
||||
// min-gdb-version: 8.0
|
||||
// min-gdb-version: 10.1
|
||||
|
||||
// compile-flags:-g
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// Function names are formatted differently in old versions of GDB
|
||||
// min-gdb-version: 9.2
|
||||
// min-gdb-version: 10.1
|
||||
|
||||
// compile-flags:-g
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
thread 'main' panicked at 'explicit panic', $DIR/issue-47429-short-backtraces.rs:16:5
|
||||
thread 'main' panicked at 'explicit panic', $DIR/issue-47429-short-backtraces.rs:21:5
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic
|
||||
1: issue_47429_short_backtraces::main
|
@ -12,6 +12,11 @@
|
||||
// ignore-emscripten no panic or subprocess support
|
||||
// ignore-sgx no subprocess support
|
||||
|
||||
// NOTE(eddyb) output differs between symbol mangling schemes
|
||||
// revisions: legacy v0
|
||||
// [legacy] compile-flags: -Zsymbol-mangling-version=legacy
|
||||
// [v0] compile-flags: -Zsymbol-mangling-version=v0
|
||||
|
||||
fn main() {
|
||||
panic!()
|
||||
}
|
||||
|
@ -0,0 +1,5 @@
|
||||
thread 'main' panicked at 'explicit panic', $DIR/issue-47429-short-backtraces.rs:21:5
|
||||
stack backtrace:
|
||||
0: std::panicking::begin_panic::<&str>
|
||||
1: issue_47429_short_backtraces::main
|
||||
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
|
Loading…
Reference in New Issue
Block a user