Skip to content

Commit

Permalink
Delete redundant gdb-version requirements and related comments
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Aug 18, 2024
1 parent e93e610 commit 156088f
Show file tree
Hide file tree
Showing 23 changed files with 0 additions and 47 deletions.
4 changes: 0 additions & 4 deletions tests/debuginfo/basic-types-globals.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// Caveat - gdb doesn't know about UTF-32 character encoding and will print a
// rust char as only its numerical value.

//@ min-lldb-version: 310
//@ min-gdb-version: 8.0

//@ revisions: lto no-lto

Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/borrowed-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800

//@ compile-flags:-g
Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/coroutine-objects.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Require a gdb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800

// LLDB (18.1+) now supports DW_TAG_variant_part, but there is some bug in either compiler or LLDB
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/embedded-visualizer.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//@ compile-flags:-g
//@ min-gdb-version: 8.1
//@ ignore-lldb
//@ ignore-windows-gnu: #128981

Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/empty-string.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ min-gdb-version: 8.1
//@ ignore-gdb-version: 7.11.90 - 8.0.9
//@ min-lldb-version: 310

// === GDB TESTS ===================================================================================
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/gdb-pretty-struct-and-enums.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//@ ignore-lldb
//@ ignore-android: FIXME(#10381)
//@ min-gdb-version: 8.1

//@ compile-flags:-g

Expand Down
3 changes: 0 additions & 3 deletions tests/debuginfo/generic-enum-with-different-disr-sizes.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
//@ ignore-lldb: FIXME(#27089)
//@ min-lldb-version: 310

// Require a gdb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2

//@ compile-flags:-g

// === GDB TESTS ===================================================================================
Expand Down
3 changes: 0 additions & 3 deletions tests/debuginfo/generic-struct-style-enum.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
//@ min-lldb-version: 310

// Require a gdb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2

//@ compile-flags:-g

// gdb-command:set print union on
Expand Down
4 changes: 0 additions & 4 deletions tests/debuginfo/generic-tuple-style-enum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ needs-rust-lldb

//@ compile-flags:-g

// === GDB TESTS ===================================================================================
Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/issue-57822.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// This test makes sure that the LLDB pretty printer does not throw an exception
// for nested closures and coroutines.

// Require a gdb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800
//@ compile-flags:-g

Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/numeric-types.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//@ compile-flags:-g

//@ min-gdb-version: 8.1
//@ ignore-windows-gnu: #128981

// Tests the visualizations for `NonZero<T>`, `Wrapping<T>` and
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/packed-struct.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//@ min-lldb-version: 310
//@ ignore-gdb-version: 7.11.90 - 7.12.9

//@ compile-flags:-g

Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/pretty-huge-vec.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ min-gdb-version: 8.1
//@ min-lldb-version: 310

// === GDB TESTS ===================================================================================
Expand Down
4 changes: 0 additions & 4 deletions tests/debuginfo/pretty-std-collections.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
//@ ignore-windows-gnu: #128981
//@ compile-flags:-g

// The pretty printers being tested here require the patch from
// https://sourceware.org/bugzilla/show_bug.cgi?id=21763
//@ min-gdb-version: 8.1

//@ min-lldb-version: 310

// === GDB TESTS ===================================================================================
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/pretty-std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ min-gdb-version: 7.7
//@ min-lldb-version: 1800
//@ min-cdb-version: 10.0.18317.1001

Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/pretty-uninitialized-vec.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//@ ignore-windows-gnu: #128981
//@ ignore-android: FIXME(#10381)
//@ compile-flags:-g
//@ min-gdb-version: 8.1
//@ min-lldb-version: 310

// === GDB TESTS ===================================================================================
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/rc_arc.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//@ ignore-windows-gnu: #128981
//@ compile-flags:-g

//@ min-gdb-version: 8.1
//@ min-cdb-version: 10.0.18317.1001

// === GDB TESTS ==================================================================================
Expand Down
3 changes: 0 additions & 3 deletions tests/debuginfo/recursive-struct.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
//@ ignore-lldb

// Require a gdb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2

//@ compile-flags:-g

// gdb-command:run
Expand Down
1 change: 0 additions & 1 deletion tests/debuginfo/struct-in-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//@ min-lldb-version: 1800
//@ ignore-gdb-version: 7.11.90 - 7.12.9

//@ compile-flags:-g

Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/struct-style-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800
//@ compile-flags:-g

Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/tuple-style-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800

//@ compile-flags:-g
Expand Down
2 changes: 0 additions & 2 deletions tests/debuginfo/unique-enum.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Require a gdb or lldb that can read DW_TAG_variant_part.
//@ min-gdb-version: 8.2
//@ min-lldb-version: 1800

//@ compile-flags:-g
Expand Down
3 changes: 0 additions & 3 deletions tests/debuginfo/unit-type.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
//@ compile-flags:-g

// We only test Rust-aware versions of GDB:
//@ min-gdb-version: 8.2

// === GDB TESTS ===================================================================================

// gdb-command: run
Expand Down

0 comments on commit 156088f

Please sign in to comment.