diff --git a/tests/debuginfo/associated-types.rs b/tests/debuginfo/associated-types.rs index 7c2a793c8cd3..e74a592662d2 100644 --- a/tests/debuginfo/associated-types.rs +++ b/tests/debuginfo/associated-types.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/basic-stepping.rs b/tests/debuginfo/basic-stepping.rs index f6399814a43a..aa9f29259d05 100644 --- a/tests/debuginfo/basic-stepping.rs +++ b/tests/debuginfo/basic-stepping.rs @@ -6,6 +6,7 @@ //@ ignore-loongarch64: Doesn't work yet. //@ ignore-riscv64: Doesn't work yet. //@ compile-flags: -g +//@ ignore-backends: gcc // gdb-command: run // FIXME(#97083): Should we be able to break on initialization of zero-sized types? diff --git a/tests/debuginfo/basic-types-globals-metadata.rs b/tests/debuginfo/basic-types-globals-metadata.rs index fc8f6dc173fc..cc32b338da72 100644 --- a/tests/debuginfo/basic-types-globals-metadata.rs +++ b/tests/debuginfo/basic-types-globals-metadata.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run // gdb-command:whatis basic_types_globals_metadata::B diff --git a/tests/debuginfo/basic-types-globals.rs b/tests/debuginfo/basic-types-globals.rs index 9d28820ce685..cf8f9984c2a0 100644 --- a/tests/debuginfo/basic-types-globals.rs +++ b/tests/debuginfo/basic-types-globals.rs @@ -5,6 +5,7 @@ //@ [lto] compile-flags:-C lto //@ [lto] no-prefer-dynamic +//@ ignore-backends: gcc // gdb-command:run // gdb-command:print B diff --git a/tests/debuginfo/basic-types-metadata.rs b/tests/debuginfo/basic-types-metadata.rs index 941db81a4dec..495ef81a16c6 100644 --- a/tests/debuginfo/basic-types-metadata.rs +++ b/tests/debuginfo/basic-types-metadata.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run // gdb-command:whatis unit diff --git a/tests/debuginfo/basic-types-mut-globals.rs b/tests/debuginfo/basic-types-mut-globals.rs index e979d82b55c6..6617f91c3df5 100644 --- a/tests/debuginfo/basic-types-mut-globals.rs +++ b/tests/debuginfo/basic-types-mut-globals.rs @@ -6,6 +6,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run diff --git a/tests/debuginfo/basic-types.rs b/tests/debuginfo/basic-types.rs index 7862f45b3c4e..9b1452fab413 100644 --- a/tests/debuginfo/basic-types.rs +++ b/tests/debuginfo/basic-types.rs @@ -6,6 +6,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-basic.rs b/tests/debuginfo/borrowed-basic.rs index 334eae38318e..86c4df12866e 100644 --- a/tests/debuginfo/borrowed-basic.rs +++ b/tests/debuginfo/borrowed-basic.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-c-style-enum.rs b/tests/debuginfo/borrowed-c-style-enum.rs index d382a389fe41..b331775743b4 100644 --- a/tests/debuginfo/borrowed-c-style-enum.rs +++ b/tests/debuginfo/borrowed-c-style-enum.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-enum.rs b/tests/debuginfo/borrowed-enum.rs index 893dd777bcde..48dce139a2f3 100644 --- a/tests/debuginfo/borrowed-enum.rs +++ b/tests/debuginfo/borrowed-enum.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-struct.rs b/tests/debuginfo/borrowed-struct.rs index 5d64ba3cbefb..876ec30b1401 100644 --- a/tests/debuginfo/borrowed-struct.rs +++ b/tests/debuginfo/borrowed-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-tuple.rs b/tests/debuginfo/borrowed-tuple.rs index fd4e22feb069..42964c79485a 100644 --- a/tests/debuginfo/borrowed-tuple.rs +++ b/tests/debuginfo/borrowed-tuple.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/borrowed-unique-basic.rs b/tests/debuginfo/borrowed-unique-basic.rs index 54d7f27bb0c8..c230ceae1c75 100644 --- a/tests/debuginfo/borrowed-unique-basic.rs +++ b/tests/debuginfo/borrowed-unique-basic.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/box.rs b/tests/debuginfo/box.rs index d4612f98a5f1..c5034410f49f 100644 --- a/tests/debuginfo/box.rs +++ b/tests/debuginfo/box.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/boxed-struct.rs b/tests/debuginfo/boxed-struct.rs index ca072693cdcd..fc676e8ce618 100644 --- a/tests/debuginfo/boxed-struct.rs +++ b/tests/debuginfo/boxed-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/by-value-self-argument-in-trait-impl.rs b/tests/debuginfo/by-value-self-argument-in-trait-impl.rs index a49a375569b1..409cfc533c87 100644 --- a/tests/debuginfo/by-value-self-argument-in-trait-impl.rs +++ b/tests/debuginfo/by-value-self-argument-in-trait-impl.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/c-style-enum-in-composite.rs b/tests/debuginfo/c-style-enum-in-composite.rs index 47b4b980f9cc..dd5e4f8b65d7 100644 --- a/tests/debuginfo/c-style-enum-in-composite.rs +++ b/tests/debuginfo/c-style-enum-in-composite.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/c-style-enum.rs b/tests/debuginfo/c-style-enum.rs index d5455be0cb56..79438e3f2d43 100644 --- a/tests/debuginfo/c-style-enum.rs +++ b/tests/debuginfo/c-style-enum.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/captured-fields-1.rs b/tests/debuginfo/captured-fields-1.rs index 69ca3ecd812d..53f77d314685 100644 --- a/tests/debuginfo/captured-fields-1.rs +++ b/tests/debuginfo/captured-fields-1.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ edition:2021 +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/captured-fields-2.rs b/tests/debuginfo/captured-fields-2.rs index 24bff1d3f35d..cdebeaf3a975 100644 --- a/tests/debuginfo/captured-fields-2.rs +++ b/tests/debuginfo/captured-fields-2.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ edition:2021 +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/closure-in-generic-function.rs b/tests/debuginfo/closure-in-generic-function.rs index 0bb72209cc82..88769399f089 100644 --- a/tests/debuginfo/closure-in-generic-function.rs +++ b/tests/debuginfo/closure-in-generic-function.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs b/tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs index 1aafcffa3047..bafa5408b197 100644 --- a/tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs +++ b/tests/debuginfo/collapse-debuginfo-in-non-collapse-macro.rs @@ -6,6 +6,7 @@ // without collapse_debuginfo attribute. //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/collapse-debuginfo-static-external.rs b/tests/debuginfo/collapse-debuginfo-static-external.rs index 2209bb9bd948..6389bb734ddf 100644 --- a/tests/debuginfo/collapse-debuginfo-static-external.rs +++ b/tests/debuginfo/collapse-debuginfo-static-external.rs @@ -3,11 +3,12 @@ // Test that static debug info is not collapsed with #[collapse_debuginfo(external)] //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:info line collapse_debuginfo_static_external::FOO -// gdb-check:[...]Line 15[...] +// gdb-check:[...]Line 16[...] #[collapse_debuginfo(external)] macro_rules! decl_foo { diff --git a/tests/debuginfo/collapse-debuginfo-static.rs b/tests/debuginfo/collapse-debuginfo-static.rs index e6469da4785e..a5542a44091a 100644 --- a/tests/debuginfo/collapse-debuginfo-static.rs +++ b/tests/debuginfo/collapse-debuginfo-static.rs @@ -3,11 +3,12 @@ // Test that static debug info is collapsed with #[collapse_debuginfo(yes)] //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:info line collapse_debuginfo_static::FOO -// gdb-check:[...]Line 19[...] +// gdb-check:[...]Line 20[...] #[collapse_debuginfo(yes)] macro_rules! decl_foo { diff --git a/tests/debuginfo/constant-ordering-prologue.rs b/tests/debuginfo/constant-ordering-prologue.rs index 3136aff238a2..1d4674b1d32b 100644 --- a/tests/debuginfo/constant-ordering-prologue.rs +++ b/tests/debuginfo/constant-ordering-prologue.rs @@ -1,6 +1,7 @@ //@ min-lldb-version: 310 //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/coroutine-locals.rs b/tests/debuginfo/coroutine-locals.rs index c2b8aef8a673..d63ea4bde367 100644 --- a/tests/debuginfo/coroutine-locals.rs +++ b/tests/debuginfo/coroutine-locals.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/coroutine-objects.rs b/tests/debuginfo/coroutine-objects.rs index 7ead154cbdb1..f1165de4bfaa 100644 --- a/tests/debuginfo/coroutine-objects.rs +++ b/tests/debuginfo/coroutine-objects.rs @@ -6,6 +6,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/cross-crate-spans.rs b/tests/debuginfo/cross-crate-spans.rs index 38176e46909c..6ef17061070e 100644 --- a/tests/debuginfo/cross-crate-spans.rs +++ b/tests/debuginfo/cross-crate-spans.rs @@ -3,6 +3,7 @@ extern crate cross_crate_spans; //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/cross-crate-type-uniquing.rs b/tests/debuginfo/cross-crate-type-uniquing.rs index 28ebc3438846..c29757ae7793 100644 --- a/tests/debuginfo/cross-crate-type-uniquing.rs +++ b/tests/debuginfo/cross-crate-type-uniquing.rs @@ -3,6 +3,7 @@ extern crate cross_crate_debuginfo_type_uniquing; //@ no-prefer-dynamic //@ compile-flags:-g -C lto +//@ ignore-backends: gcc pub struct C; pub fn p() -> C { diff --git a/tests/debuginfo/destructured-fn-argument.rs b/tests/debuginfo/destructured-fn-argument.rs index fe8f91588e06..27910ed46882 100644 --- a/tests/debuginfo/destructured-fn-argument.rs +++ b/tests/debuginfo/destructured-fn-argument.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/destructured-for-loop-variable.rs b/tests/debuginfo/destructured-for-loop-variable.rs index 01c524083dae..12a9ff417258 100644 --- a/tests/debuginfo/destructured-for-loop-variable.rs +++ b/tests/debuginfo/destructured-for-loop-variable.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/destructured-local.rs b/tests/debuginfo/destructured-local.rs index ff24c924aada..ef595468b473 100644 --- a/tests/debuginfo/destructured-local.rs +++ b/tests/debuginfo/destructured-local.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/dummy_span.rs b/tests/debuginfo/dummy_span.rs index d02eead470fa..23822222006c 100644 --- a/tests/debuginfo/dummy_span.rs +++ b/tests/debuginfo/dummy_span.rs @@ -1,6 +1,7 @@ //@ min-lldb-version: 310 //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/embedded-visualizer.rs b/tests/debuginfo/embedded-visualizer.rs index cbd8691394d5..3652036ae8b6 100644 --- a/tests/debuginfo/embedded-visualizer.rs +++ b/tests/debuginfo/embedded-visualizer.rs @@ -63,6 +63,7 @@ #![debugger_visualizer(gdb_script_file = "embedded-visualizer.py")] //@ aux-build: dependency-with-embedded-visualizers.rs +//@ ignore-backends: gcc extern crate dependency_with_embedded_visualizers; use dependency_with_embedded_visualizers::Person; diff --git a/tests/debuginfo/empty-string.rs b/tests/debuginfo/empty-string.rs index 6cf61e177714..d9368001b631 100644 --- a/tests/debuginfo/empty-string.rs +++ b/tests/debuginfo/empty-string.rs @@ -1,6 +1,7 @@ //@ ignore-windows-gnu: #128981 //@ ignore-android: FIXME(#10381) //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/enum-thinlto.rs b/tests/debuginfo/enum-thinlto.rs index 6eb33b2ef46a..789755438a6b 100644 --- a/tests/debuginfo/enum-thinlto.rs +++ b/tests/debuginfo/enum-thinlto.rs @@ -1,6 +1,7 @@ //@ min-lldb-version: 1800 //@ compile-flags:-g -Z thinlto //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/evec-in-struct.rs b/tests/debuginfo/evec-in-struct.rs index f08c436bbe3a..1c0c0a36bace 100644 --- a/tests/debuginfo/evec-in-struct.rs +++ b/tests/debuginfo/evec-in-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/extern-c-fn.rs b/tests/debuginfo/extern-c-fn.rs index 7130658f2d82..3a8a110afa2c 100644 --- a/tests/debuginfo/extern-c-fn.rs +++ b/tests/debuginfo/extern-c-fn.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/function-arg-initialization.rs b/tests/debuginfo/function-arg-initialization.rs index 03fb1e2d062f..1a681c772116 100644 --- a/tests/debuginfo/function-arg-initialization.rs +++ b/tests/debuginfo/function-arg-initialization.rs @@ -9,6 +9,7 @@ //@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts // SingleUseConsts shouldn't need to be disabled, see #128945 //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/function-arguments.rs b/tests/debuginfo/function-arguments.rs index 64d026a705bf..47c6ebe11554 100644 --- a/tests/debuginfo/function-arguments.rs +++ b/tests/debuginfo/function-arguments.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/function-call.rs b/tests/debuginfo/function-call.rs index 3d8d798928d7..c0b23dc551ea 100644 --- a/tests/debuginfo/function-call.rs +++ b/tests/debuginfo/function-call.rs @@ -2,6 +2,7 @@ //@ min-gdb-version: 10.1 //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/function-names.rs b/tests/debuginfo/function-names.rs index b5aec5c595e7..75fc14129761 100644 --- a/tests/debuginfo/function-names.rs +++ b/tests/debuginfo/function-names.rs @@ -3,6 +3,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/gdb-char.rs b/tests/debuginfo/gdb-char.rs index d296e675fa3e..5f44fa5c4233 100644 --- a/tests/debuginfo/gdb-char.rs +++ b/tests/debuginfo/gdb-char.rs @@ -4,6 +4,7 @@ //@ min-gdb-version: 11.2 //@ compile-flags: -g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/gdb-pretty-struct-and-enums.rs b/tests/debuginfo/gdb-pretty-struct-and-enums.rs index 08e01333a376..ab6aea6b6316 100644 --- a/tests/debuginfo/gdb-pretty-struct-and-enums.rs +++ b/tests/debuginfo/gdb-pretty-struct-and-enums.rs @@ -2,6 +2,7 @@ //@ ignore-android: FIXME(#10381) //@ compile-flags:-g +//@ ignore-backends: gcc // gdb-command: run diff --git a/tests/debuginfo/generic-enum-with-different-disr-sizes.rs b/tests/debuginfo/generic-enum-with-different-disr-sizes.rs index 5c5f05d9c4b1..07a92619e211 100644 --- a/tests/debuginfo/generic-enum-with-different-disr-sizes.rs +++ b/tests/debuginfo/generic-enum-with-different-disr-sizes.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/generic-function.rs b/tests/debuginfo/generic-function.rs index ab3cb6953ace..9ca9eb32a2e1 100644 --- a/tests/debuginfo/generic-function.rs +++ b/tests/debuginfo/generic-function.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/generic-functions-nested.rs b/tests/debuginfo/generic-functions-nested.rs index 8ac2b8b9d7a1..1a87827c7759 100644 --- a/tests/debuginfo/generic-functions-nested.rs +++ b/tests/debuginfo/generic-functions-nested.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/generic-method-on-generic-struct.rs b/tests/debuginfo/generic-method-on-generic-struct.rs index 36a94f2999d7..c549a1415365 100644 --- a/tests/debuginfo/generic-method-on-generic-struct.rs +++ b/tests/debuginfo/generic-method-on-generic-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/generic-static-method-on-struct-and-enum.rs b/tests/debuginfo/generic-static-method-on-struct-and-enum.rs index 09b515d69e49..be9f394f133d 100644 --- a/tests/debuginfo/generic-static-method-on-struct-and-enum.rs +++ b/tests/debuginfo/generic-static-method-on-struct-and-enum.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run diff --git a/tests/debuginfo/generic-struct-style-enum.rs b/tests/debuginfo/generic-struct-style-enum.rs index 4f580f8c515d..7b7a36effd57 100644 --- a/tests/debuginfo/generic-struct-style-enum.rs +++ b/tests/debuginfo/generic-struct-style-enum.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:set print union on // gdb-command:run diff --git a/tests/debuginfo/generic-struct.rs b/tests/debuginfo/generic-struct.rs index 0196ca435447..daf6554fab0a 100644 --- a/tests/debuginfo/generic-struct.rs +++ b/tests/debuginfo/generic-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/generic-tuple-style-enum.rs b/tests/debuginfo/generic-tuple-style-enum.rs index 719b5c6161f0..de8681bc5361 100644 --- a/tests/debuginfo/generic-tuple-style-enum.rs +++ b/tests/debuginfo/generic-tuple-style-enum.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/include_string.rs b/tests/debuginfo/include_string.rs index 4ec23b68262a..565bd09f89e9 100644 --- a/tests/debuginfo/include_string.rs +++ b/tests/debuginfo/include_string.rs @@ -3,6 +3,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run // gdb-command:print string1.length // gdb-check:$1 = 48 diff --git a/tests/debuginfo/issue-57822.rs b/tests/debuginfo/issue-57822.rs index ba4e01196a4c..59c0759737dd 100644 --- a/tests/debuginfo/issue-57822.rs +++ b/tests/debuginfo/issue-57822.rs @@ -4,6 +4,7 @@ //@ min-lldb-version: 1800 //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-for-loop.rs b/tests/debuginfo/lexical-scope-in-for-loop.rs index f591f48ad59d..c2e97ad469ef 100644 --- a/tests/debuginfo/lexical-scope-in-for-loop.rs +++ b/tests/debuginfo/lexical-scope-in-for-loop.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-if-let.rs b/tests/debuginfo/lexical-scope-in-if-let.rs index b2c7790eab23..3bc0c231b4d3 100644 --- a/tests/debuginfo/lexical-scope-in-if-let.rs +++ b/tests/debuginfo/lexical-scope-in-if-let.rs @@ -1,4 +1,5 @@ //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS ================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-if.rs b/tests/debuginfo/lexical-scope-in-if.rs index 2b3a4ee5fc4a..622188269307 100644 --- a/tests/debuginfo/lexical-scope-in-if.rs +++ b/tests/debuginfo/lexical-scope-in-if.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-match.rs b/tests/debuginfo/lexical-scope-in-match.rs index 0e369c6ca164..329d959bc848 100644 --- a/tests/debuginfo/lexical-scope-in-match.rs +++ b/tests/debuginfo/lexical-scope-in-match.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-stack-closure.rs b/tests/debuginfo/lexical-scope-in-stack-closure.rs index 483d5dda86ce..b6abf507f26b 100644 --- a/tests/debuginfo/lexical-scope-in-stack-closure.rs +++ b/tests/debuginfo/lexical-scope-in-stack-closure.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-unconditional-loop.rs b/tests/debuginfo/lexical-scope-in-unconditional-loop.rs index 129d0b8c83de..270fbcf6ebf5 100644 --- a/tests/debuginfo/lexical-scope-in-unconditional-loop.rs +++ b/tests/debuginfo/lexical-scope-in-unconditional-loop.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-unique-closure.rs b/tests/debuginfo/lexical-scope-in-unique-closure.rs index 93bea18d7cd9..b4909a97bea5 100644 --- a/tests/debuginfo/lexical-scope-in-unique-closure.rs +++ b/tests/debuginfo/lexical-scope-in-unique-closure.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-in-while.rs b/tests/debuginfo/lexical-scope-in-while.rs index 5fe76851bd7f..e8e66d2835cd 100644 --- a/tests/debuginfo/lexical-scope-in-while.rs +++ b/tests/debuginfo/lexical-scope-in-while.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scope-with-macro.rs b/tests/debuginfo/lexical-scope-with-macro.rs index efec9a3b1ce7..8c302a94ea2a 100644 --- a/tests/debuginfo/lexical-scope-with-macro.rs +++ b/tests/debuginfo/lexical-scope-with-macro.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/lexical-scopes-in-block-expression.rs b/tests/debuginfo/lexical-scopes-in-block-expression.rs index bec69ec87e84..9a7fba30397e 100644 --- a/tests/debuginfo/lexical-scopes-in-block-expression.rs +++ b/tests/debuginfo/lexical-scopes-in-block-expression.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/limited-debuginfo.rs b/tests/debuginfo/limited-debuginfo.rs index c3b516460aa3..136953641a4d 100644 --- a/tests/debuginfo/limited-debuginfo.rs +++ b/tests/debuginfo/limited-debuginfo.rs @@ -2,6 +2,7 @@ //@ compile-flags:-C debuginfo=1 //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // Make sure functions have proper names // gdb-command:info functions diff --git a/tests/debuginfo/method-on-generic-struct.rs b/tests/debuginfo/method-on-generic-struct.rs index 5da952fa4e10..b9627f27b912 100644 --- a/tests/debuginfo/method-on-generic-struct.rs +++ b/tests/debuginfo/method-on-generic-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/method-on-struct.rs b/tests/debuginfo/method-on-struct.rs index 83badd8dbf01..4ccb55d3704b 100644 --- a/tests/debuginfo/method-on-struct.rs +++ b/tests/debuginfo/method-on-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/method-on-trait.rs b/tests/debuginfo/method-on-trait.rs index c91b255bd6af..baf1a8567bbf 100644 --- a/tests/debuginfo/method-on-trait.rs +++ b/tests/debuginfo/method-on-trait.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/method-on-tuple-struct.rs b/tests/debuginfo/method-on-tuple-struct.rs index 7e6e724d42eb..077c0bc13d90 100644 --- a/tests/debuginfo/method-on-tuple-struct.rs +++ b/tests/debuginfo/method-on-tuple-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/multi-cgu.rs b/tests/debuginfo/multi-cgu.rs index ca4146da405e..e3fa68d77659 100644 --- a/tests/debuginfo/multi-cgu.rs +++ b/tests/debuginfo/multi-cgu.rs @@ -3,6 +3,7 @@ //@ compile-flags:-g -Ccodegen-units=2 //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =============================================================== diff --git a/tests/debuginfo/multiple-functions-equal-var-names.rs b/tests/debuginfo/multiple-functions-equal-var-names.rs index 2bc40b87e6f5..9df1fe1b9ca1 100644 --- a/tests/debuginfo/multiple-functions-equal-var-names.rs +++ b/tests/debuginfo/multiple-functions-equal-var-names.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/multiple-functions.rs b/tests/debuginfo/multiple-functions.rs index 5469408c78fb..a5fe01f9dd2c 100644 --- a/tests/debuginfo/multiple-functions.rs +++ b/tests/debuginfo/multiple-functions.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/name-shadowing-and-scope-nesting.rs b/tests/debuginfo/name-shadowing-and-scope-nesting.rs index e8d85473d863..9a3393a71e83 100644 --- a/tests/debuginfo/name-shadowing-and-scope-nesting.rs +++ b/tests/debuginfo/name-shadowing-and-scope-nesting.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/no_mangle-info.rs b/tests/debuginfo/no_mangle-info.rs index 06c65a71b2e9..d1daef669cee 100644 --- a/tests/debuginfo/no_mangle-info.rs +++ b/tests/debuginfo/no_mangle-info.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ min-gdb-version: 10.1 +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== // gdb-command:run diff --git a/tests/debuginfo/numeric-types.rs b/tests/debuginfo/numeric-types.rs index 9a0fd01d7e23..9f7ef5c537d2 100644 --- a/tests/debuginfo/numeric-types.rs +++ b/tests/debuginfo/numeric-types.rs @@ -9,6 +9,7 @@ // unblock the tree. //@ only-64bit //@ min-cdb-version: 10.0.26100.2161 +//@ ignore-backends: gcc // Tests the visualizations for `NonZero`, `Wrapping` and // `Atomic{Bool,I8,I16,I32,I64,Isize,U8,U16,U32,U64,Usize}` located in `libcore.natvis`. diff --git a/tests/debuginfo/packed-struct-with-destructor.rs b/tests/debuginfo/packed-struct-with-destructor.rs index 0c5725ca25cd..2150ec53501c 100644 --- a/tests/debuginfo/packed-struct-with-destructor.rs +++ b/tests/debuginfo/packed-struct-with-destructor.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/packed-struct.rs b/tests/debuginfo/packed-struct.rs index 3bc39adee831..427289c84774 100644 --- a/tests/debuginfo/packed-struct.rs +++ b/tests/debuginfo/packed-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/pretty-huge-vec.rs b/tests/debuginfo/pretty-huge-vec.rs index 6938158e365e..c73491bf2806 100644 --- a/tests/debuginfo/pretty-huge-vec.rs +++ b/tests/debuginfo/pretty-huge-vec.rs @@ -2,6 +2,7 @@ //@ ignore-android: FIXME(#10381) //@ ignore-aix: FIXME(#137965) //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/pretty-slices.rs b/tests/debuginfo/pretty-slices.rs index f1aad836434e..fd347a4eb933 100644 --- a/tests/debuginfo/pretty-slices.rs +++ b/tests/debuginfo/pretty-slices.rs @@ -1,6 +1,7 @@ //@ ignore-android: FIXME(#10381) //@ ignore-windows-gnu: #128981 //@ compile-flags:-g +//@ ignore-backends: gcc // gdb-command: run diff --git a/tests/debuginfo/pretty-std-collections.rs b/tests/debuginfo/pretty-std-collections.rs index 5e133ee718e2..568ca0fd2303 100644 --- a/tests/debuginfo/pretty-std-collections.rs +++ b/tests/debuginfo/pretty-std-collections.rs @@ -1,6 +1,7 @@ //@ ignore-android: FIXME(#10381) //@ ignore-windows-gnu: #128981 //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/pretty-std.rs b/tests/debuginfo/pretty-std.rs index 53835d41be24..2620557eaf99 100644 --- a/tests/debuginfo/pretty-std.rs +++ b/tests/debuginfo/pretty-std.rs @@ -4,6 +4,7 @@ //@ compile-flags:-g //@ min-lldb-version: 1800 //@ min-cdb-version: 10.0.18317.1001 +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/pretty-uninitialized-vec.rs b/tests/debuginfo/pretty-uninitialized-vec.rs index cea2f26ef58f..e5a2df5c9345 100644 --- a/tests/debuginfo/pretty-uninitialized-vec.rs +++ b/tests/debuginfo/pretty-uninitialized-vec.rs @@ -1,6 +1,7 @@ //@ ignore-windows-gnu: #128981 //@ ignore-android: FIXME(#10381) //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/rc_arc.rs b/tests/debuginfo/rc_arc.rs index f636c60702cd..c439ff7484fe 100644 --- a/tests/debuginfo/rc_arc.rs +++ b/tests/debuginfo/rc_arc.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ min-cdb-version: 10.0.18317.1001 +//@ ignore-backends: gcc // === GDB TESTS ================================================================================== diff --git a/tests/debuginfo/recursive-struct.rs b/tests/debuginfo/recursive-struct.rs index 427a7100a4f7..723ab06a8b26 100644 --- a/tests/debuginfo/recursive-struct.rs +++ b/tests/debuginfo/recursive-struct.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run diff --git a/tests/debuginfo/reference-debuginfo.rs b/tests/debuginfo/reference-debuginfo.rs index 242da1dd6541..75acbc131a8c 100644 --- a/tests/debuginfo/reference-debuginfo.rs +++ b/tests/debuginfo/reference-debuginfo.rs @@ -4,6 +4,7 @@ // //@ compile-flags:-g -Zmir-enable-passes=+ReferencePropagation,-ConstDebugInfo //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/regression-bad-location-list-67992.rs b/tests/debuginfo/regression-bad-location-list-67992.rs index 0ec474b5b5af..a5617a23c931 100644 --- a/tests/debuginfo/regression-bad-location-list-67992.rs +++ b/tests/debuginfo/regression-bad-location-list-67992.rs @@ -1,4 +1,5 @@ //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/self-in-default-method.rs b/tests/debuginfo/self-in-default-method.rs index 4297129e0cf8..6e08ef4cd83a 100644 --- a/tests/debuginfo/self-in-default-method.rs +++ b/tests/debuginfo/self-in-default-method.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/self-in-generic-default-method.rs b/tests/debuginfo/self-in-generic-default-method.rs index e7ffa05f4188..a06731a54bd2 100644 --- a/tests/debuginfo/self-in-generic-default-method.rs +++ b/tests/debuginfo/self-in-generic-default-method.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/shadowed-argument.rs b/tests/debuginfo/shadowed-argument.rs index 3a0f0ad17a81..7a7e54545b88 100644 --- a/tests/debuginfo/shadowed-argument.rs +++ b/tests/debuginfo/shadowed-argument.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/shadowed-variable.rs b/tests/debuginfo/shadowed-variable.rs index 6a658a7c4943..c55f22df0037 100644 --- a/tests/debuginfo/shadowed-variable.rs +++ b/tests/debuginfo/shadowed-variable.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/simd.rs b/tests/debuginfo/simd.rs index 43cd7130b252..888a78117b54 100644 --- a/tests/debuginfo/simd.rs +++ b/tests/debuginfo/simd.rs @@ -8,6 +8,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run // gdb-command:print vi8x16 diff --git a/tests/debuginfo/simple-lexical-scope.rs b/tests/debuginfo/simple-lexical-scope.rs index 64afcf8d61dc..194da9169d9a 100644 --- a/tests/debuginfo/simple-lexical-scope.rs +++ b/tests/debuginfo/simple-lexical-scope.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/simple-struct.rs b/tests/debuginfo/simple-struct.rs index da09a8a3ce02..665bb2fdb579 100644 --- a/tests/debuginfo/simple-struct.rs +++ b/tests/debuginfo/simple-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags: -g -Zmir-enable-passes=-CheckAlignment //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/simple-tuple.rs b/tests/debuginfo/simple-tuple.rs index f086472d7256..c1509a8a9b4c 100644 --- a/tests/debuginfo/simple-tuple.rs +++ b/tests/debuginfo/simple-tuple.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/skip_second_statement.rs b/tests/debuginfo/skip_second_statement.rs index ba182de03854..452b6db3882d 100644 --- a/tests/debuginfo/skip_second_statement.rs +++ b/tests/debuginfo/skip_second_statement.rs @@ -4,6 +4,7 @@ // Performed step-over and step-into debug stepping through call statements. //@ compile-flags:-g -C collapse-macro-debuginfo=yes +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/skip_second_statement_collapse.rs b/tests/debuginfo/skip_second_statement_collapse.rs index db90cee8bfba..52a85c5107e4 100644 --- a/tests/debuginfo/skip_second_statement_collapse.rs +++ b/tests/debuginfo/skip_second_statement_collapse.rs @@ -4,6 +4,7 @@ // Performed step-over and step-into debug stepping through call statements. //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/static-method-on-struct-and-enum.rs b/tests/debuginfo/static-method-on-struct-and-enum.rs index 2a3502712de1..87b959f9df05 100644 --- a/tests/debuginfo/static-method-on-struct-and-enum.rs +++ b/tests/debuginfo/static-method-on-struct-and-enum.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/step-into-match.rs b/tests/debuginfo/step-into-match.rs index d4b7ea201195..a05ed8653be2 100644 --- a/tests/debuginfo/step-into-match.rs +++ b/tests/debuginfo/step-into-match.rs @@ -4,6 +4,7 @@ // On Arm64 Windows, stepping at the end of a function on goes to the callsite, not the instruction // after it. //@ ignore-aarch64-pc-windows-msvc: Stepping out of functions behaves differently. +//@ ignore-backends: gcc // === GDB TESTS ============================================================== diff --git a/tests/debuginfo/struct-in-enum.rs b/tests/debuginfo/struct-in-enum.rs index c5a7fb95e1e5..bd61e7cb1437 100644 --- a/tests/debuginfo/struct-in-enum.rs +++ b/tests/debuginfo/struct-in-enum.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/struct-in-struct.rs b/tests/debuginfo/struct-in-struct.rs index c818df31b4b1..4f770e7e56c8 100644 --- a/tests/debuginfo/struct-in-struct.rs +++ b/tests/debuginfo/struct-in-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/struct-style-enum.rs b/tests/debuginfo/struct-style-enum.rs index 1f28fe4fea15..48ef97896ac1 100644 --- a/tests/debuginfo/struct-style-enum.rs +++ b/tests/debuginfo/struct-style-enum.rs @@ -1,6 +1,7 @@ //@ min-lldb-version: 1800 //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/struct-with-destructor.rs b/tests/debuginfo/struct-with-destructor.rs index 4d2ce8ff79db..2cdac43ba500 100644 --- a/tests/debuginfo/struct-with-destructor.rs +++ b/tests/debuginfo/struct-with-destructor.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/tuple-in-struct.rs b/tests/debuginfo/tuple-in-struct.rs index bef96fad50c6..3223532b16a4 100644 --- a/tests/debuginfo/tuple-in-struct.rs +++ b/tests/debuginfo/tuple-in-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // gdb-command:run diff --git a/tests/debuginfo/tuple-in-tuple.rs b/tests/debuginfo/tuple-in-tuple.rs index 7bf97764c5c7..e906cbed67db 100644 --- a/tests/debuginfo/tuple-in-tuple.rs +++ b/tests/debuginfo/tuple-in-tuple.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/tuple-struct.rs b/tests/debuginfo/tuple-struct.rs index a1bdaf1f3bb3..44fc862c43c9 100644 --- a/tests/debuginfo/tuple-struct.rs +++ b/tests/debuginfo/tuple-struct.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/tuple-style-enum.rs b/tests/debuginfo/tuple-style-enum.rs index 6113ccc10a1b..a452c57b3042 100644 --- a/tests/debuginfo/tuple-style-enum.rs +++ b/tests/debuginfo/tuple-style-enum.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/type-names.rs b/tests/debuginfo/type-names.rs index ecf7c597c0c0..341112b0b88e 100644 --- a/tests/debuginfo/type-names.rs +++ b/tests/debuginfo/type-names.rs @@ -7,6 +7,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS ================================================================================== diff --git a/tests/debuginfo/union-smoke.rs b/tests/debuginfo/union-smoke.rs index bd253794bd85..beaf4c8fa8fe 100644 --- a/tests/debuginfo/union-smoke.rs +++ b/tests/debuginfo/union-smoke.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/unique-enum.rs b/tests/debuginfo/unique-enum.rs index e5a9c5501356..a9b928456e93 100644 --- a/tests/debuginfo/unique-enum.rs +++ b/tests/debuginfo/unique-enum.rs @@ -2,6 +2,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/unit-type.rs b/tests/debuginfo/unit-type.rs index 0ffa2fe490a5..ce2a39521d90 100644 --- a/tests/debuginfo/unit-type.rs +++ b/tests/debuginfo/unit-type.rs @@ -2,6 +2,7 @@ // FIXME(jieyouxu): triple check if this works in CI //@ min-cdb-version: 10.0.26100.2161 +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/unsized.rs b/tests/debuginfo/unsized.rs index e34eaaaacb97..eb0fb8193bf7 100644 --- a/tests/debuginfo/unsized.rs +++ b/tests/debuginfo/unsized.rs @@ -1,6 +1,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers //@ ignore-gdb-version: 13.1 - 99.0 +//@ ignore-backends: gcc // ^ https://sourceware.org/bugzilla/show_bug.cgi?id=30330 // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/var-captured-in-nested-closure.rs b/tests/debuginfo/var-captured-in-nested-closure.rs index 1795a352802f..0343aea309d5 100644 --- a/tests/debuginfo/var-captured-in-nested-closure.rs +++ b/tests/debuginfo/var-captured-in-nested-closure.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/var-captured-in-sendable-closure.rs b/tests/debuginfo/var-captured-in-sendable-closure.rs index 2b0d4bb430a1..ad6aa5fb9c74 100644 --- a/tests/debuginfo/var-captured-in-sendable-closure.rs +++ b/tests/debuginfo/var-captured-in-sendable-closure.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/var-captured-in-stack-closure.rs b/tests/debuginfo/var-captured-in-stack-closure.rs index 7fda71c2297b..cc7e2eff81b4 100644 --- a/tests/debuginfo/var-captured-in-stack-closure.rs +++ b/tests/debuginfo/var-captured-in-stack-closure.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/vec-slices.rs b/tests/debuginfo/vec-slices.rs index 2a4e413612fc..7ed6b0cb6640 100644 --- a/tests/debuginfo/vec-slices.rs +++ b/tests/debuginfo/vec-slices.rs @@ -3,6 +3,7 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/vec.rs b/tests/debuginfo/vec.rs index fd75e7005af5..c0e9f802f1e3 100644 --- a/tests/debuginfo/vec.rs +++ b/tests/debuginfo/vec.rs @@ -1,5 +1,6 @@ //@ compile-flags:-g //@ disable-gdb-pretty-printers +//@ ignore-backends: gcc // === GDB TESTS =================================================================================== diff --git a/tests/debuginfo/zst-interferes-with-prologue.rs b/tests/debuginfo/zst-interferes-with-prologue.rs index 09041a3bb72c..4d87df1abe7a 100644 --- a/tests/debuginfo/zst-interferes-with-prologue.rs +++ b/tests/debuginfo/zst-interferes-with-prologue.rs @@ -1,6 +1,7 @@ //@ min-lldb-version: 310 //@ compile-flags:-g +//@ ignore-backends: gcc // === GDB TESTS ===================================================================================