[win][arm64] Disable various DebugInfo tests that don't work on Arm64… · rust-lang/rust@3286d4a (original) (raw)

File tree

4 files changed

lines changed

4 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
35 35 "ignore-32bit",
36 36 "ignore-64bit",
37 37 "ignore-aarch64",
38 +"ignore-aarch64-pc-windows-msvc",
38 39 "ignore-aarch64-unknown-linux-gnu",
39 40 "ignore-aix",
40 41 "ignore-android",
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
1 1 //@ compile-flags: -g
2 2 //@ ignore-android: FIXME(#10381)
3 3
4 +// On Arm64 Windows, stepping at the end of a function on goes to the callsite, not the instruction
5 +// after it.
6 +//@ ignore-aarch64-pc-windows-msvc: Stepping out of functions behaves differently.
7 +
4 8 // === GDB TESTS ==============================================================
5 9
6 10 // gdb-command: r
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
1 1 //@ ignore-lldb
2 2
3 +//@ ignore-aarch64-pc-windows-msvc: Arm64 Windows cdb doesn't support JavaScript extensions.
4 +
3 5 // GDB changed the way that it formatted Foreign types
4 6 //@ min-gdb-version: 9.2
5 7
Original file line number Diff line number Diff line change
@@ -42,9 +42,13 @@ macro_rules! dump_and_die {
42 42 // there, even on i686-pc-windows-msvc. We do the best we can in
43 43 // rust-lang/rust to test it as well, but sometimes we just gotta keep
44 44 // landing PRs.
45 +//
46 +// aarch64-msvc is broken as its backtraces are truncated.
47 +// See https://github.com/rust-lang/rust/issues/140489
45 48 if cfg!(any(target_os = "android",
46 49 all(target_os = "linux", target_arch = "arm"),
47 50 all(target_env = "msvc", target_arch = "x86"),
51 + all(target_env = "msvc", target_arch = "aarch64"),
48 52 target_os = "freebsd",
49 53 target_os = "dragonfly",
50 54 target_os = "openbsd")) {