Skip to content

Commit 8153c39

Browse files
committed
[EXPERIMENTAL] What if we forced unwind tables?
1 parent e0f17c0 commit 8153c39

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/ui/debuginfo/auxiliary/dylib-dep-helper-aux.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -g -Cstrip=none
1+
//@ compile-flags: -g -Cstrip=none -Cforce-unwind-tables=yes
22

33
#[inline(never)]
44
pub fn callback<F>(f: F)

tests/ui/debuginfo/auxiliary/dylib-dep-helper.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//@ compile-flags: -g -Cstrip=none
1+
//@ compile-flags: -g -Cstrip=none -Cforce-unwind-tables=yes
22

33
#![crate_type = "cdylib"]
44
#![crate_type = "rlib"]

tests/ui/debuginfo/backtrace-dylib-dep.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//@ ignore-fuchsia Backtraces not symbolized
99
//@ ignore-musl musl doesn't support dynamic libraries (at least when the original test was written).
1010
//@ needs-unwind
11-
//@ compile-flags: -g -Copt-level=0 -Cstrip=none
11+
//@ compile-flags: -g -Copt-level=0 -Cstrip=none -Cforce-unwind-tables=yes
1212
//@ aux-crate: dylib_dep_helper=dylib-dep-helper.rs
1313
//@ aux-crate: auxiliary=dylib-dep-helper-aux.rs
1414
//@ run-pass

0 commit comments

Comments
 (0)