Ignore failing debuginfo tests with gcc backend

This commit is contained in:
Guillaume Gomez
2025-10-02 23:56:27 +02:00
parent 5ff7ca2e22
commit 2ad443c849
117 changed files with 119 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -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?

View File

@@ -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

View File

@@ -5,6 +5,7 @@
//@ [lto] compile-flags:-C lto
//@ [lto] no-prefer-dynamic
//@ ignore-backends: gcc
// gdb-command:run
// gdb-command:print B

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:run
// gdb-command:whatis unit

View File

@@ -6,6 +6,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:run

View File

@@ -6,6 +6,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ edition:2021
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ edition:2021
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -6,6 +6,7 @@
// without collapse_debuginfo attribute.
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -1,6 +1,7 @@
//@ min-lldb-version: 310
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -6,6 +6,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -3,6 +3,7 @@ extern crate cross_crate_spans;
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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 {

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,6 +1,7 @@
//@ min-lldb-version: 310
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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;

View File

@@ -1,6 +1,7 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,6 +1,7 @@
//@ min-lldb-version: 1800
//@ compile-flags:-g -Z thinlto
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -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 ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ min-gdb-version: 10.1
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -3,6 +3,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -4,6 +4,7 @@
//@ min-gdb-version: 11.2
//@ compile-flags: -g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ ignore-backends: gcc
// gdb-command: run

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:run

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:set print union on
// gdb-command:run

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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

View File

@@ -4,6 +4,7 @@
//@ min-lldb-version: 1800
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,4 +1,5 @@
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ==================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -3,6 +3,7 @@
//@ compile-flags:-g -Ccodegen-units=2
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===============================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ min-gdb-version: 10.1
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================
// gdb-command:run

View File

@@ -9,6 +9,7 @@
// unblock the tree.
//@ only-64bit
//@ min-cdb-version: 10.0.26100.2161
//@ ignore-backends: gcc
// Tests the visualizations for `NonZero<T>`, `Wrapping<T>` and
// `Atomic{Bool,I8,I16,I32,I64,Isize,U8,U16,U32,U64,Usize}` located in `libcore.natvis`.

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ ignore-android: FIXME(#10381)
//@ ignore-aix: FIXME(#137965)
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,6 +1,7 @@
//@ ignore-android: FIXME(#10381)
//@ ignore-windows-gnu: #128981
//@ compile-flags:-g
//@ ignore-backends: gcc
// gdb-command: run

View File

@@ -1,6 +1,7 @@
//@ ignore-android: FIXME(#10381)
//@ ignore-windows-gnu: #128981
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -4,6 +4,7 @@
//@ compile-flags:-g
//@ min-lldb-version: 1800
//@ min-cdb-version: 10.0.18317.1001
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,6 +1,7 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ min-cdb-version: 10.0.18317.1001
//@ ignore-backends: gcc
// === GDB TESTS ==================================================================================

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:run

View File

@@ -4,6 +4,7 @@
//
//@ compile-flags:-g -Zmir-enable-passes=+ReferencePropagation,-ConstDebugInfo
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,4 +1,5 @@
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -8,6 +8,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// gdb-command:run
// gdb-command:print vi8x16

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags: -g -Zmir-enable-passes=-CheckAlignment
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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 ===================================================================================

View File

@@ -4,6 +4,7 @@
// Performed step-over and step-into debug stepping through call statements.
//@ compile-flags:-g
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -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 ==============================================================

View File

@@ -2,6 +2,7 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

View File

@@ -1,5 +1,6 @@
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
//@ ignore-backends: gcc
// === GDB TESTS ===================================================================================

Some files were not shown because too many files have changed in this diff Show More