Emscripten: Xfail backtrace ui tests
It is possible to link libunwind and use the normal backtrace code, but it fails to symbolize stack traces. I investigated and could get the list of instruction pointers and symbol names, but I'm not sure how to use the dwarf info to map from instruction pointer to source location. In any case, fixing this is probably not a high priority. See https://github.com/rust-lang/rust/issues/131738
This commit is contained in:
parent
9618da7c99
commit
476ea45c68
@ -9,6 +9,7 @@
|
|||||||
//@ ignore-musl musl doesn't support dynamic libraries (at least when the original test was written).
|
//@ ignore-musl musl doesn't support dynamic libraries (at least when the original test was written).
|
||||||
//@ needs-unwind
|
//@ needs-unwind
|
||||||
//@ compile-flags: -g -Copt-level=0 -Cstrip=none -Cforce-frame-pointers=yes
|
//@ compile-flags: -g -Copt-level=0 -Cstrip=none -Cforce-frame-pointers=yes
|
||||||
|
//@ ignore-emscripten Requires custom symbolization code
|
||||||
//@ aux-crate: dylib_dep_helper=dylib-dep-helper.rs
|
//@ aux-crate: dylib_dep_helper=dylib-dep-helper.rs
|
||||||
//@ aux-crate: auxiliary=dylib-dep-helper-aux.rs
|
//@ aux-crate: auxiliary=dylib-dep-helper-aux.rs
|
||||||
//@ run-pass
|
//@ run-pass
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
//@ compile-flags: -Cstrip=none -Cdebuginfo=line-tables-only
|
//@ compile-flags: -Cstrip=none -Cdebuginfo=line-tables-only
|
||||||
//@ ignore-android FIXME #17520
|
//@ ignore-android FIXME #17520
|
||||||
//@ ignore-fuchsia Backtraces not symbolized
|
//@ ignore-fuchsia Backtraces not symbolized
|
||||||
|
//@ ignore-emscripten Requires custom symbolization code
|
||||||
//@ needs-unwind
|
//@ needs-unwind
|
||||||
//@ aux-build: line-tables-only-helper.rs
|
//@ aux-build: line-tables-only-helper.rs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user