about summary refs log tree commit diff
path: root/tests/debuginfo/static-method-on-struct-and-enum.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-19 12:16:20 +0000
committerbors <bors@rust-lang.org>2024-08-19 12:16:20 +0000
commit4fe1e2bd5bf5a6f1cb245f161a5e9d315766f103 (patch)
tree6518a4cb7fea427377f1875de885b419988bdbac /tests/debuginfo/static-method-on-struct-and-enum.rs
parent45fbf41deb24581471e3e56824d9318d3d415cb8 (diff)
parentb2dae987f8d0118be944434f0504f5fefd8737c4 (diff)
downloadrust-4fe1e2bd5bf5a6f1cb245f161a5e9d315766f103.tar.gz
rust-4fe1e2bd5bf5a6f1cb245f161a5e9d315766f103.zip
Auto merge of #129218 - saethlin:gdb-supports-rust-now, r=jieyouxu
Delete debuginfo test suite infra for gdb without Rust support and lldb with Rust support

Implements https://github.com/rust-lang/rust/issues/128953

I also deleted all the `min-lldb-version: 310` comments, because the oldest compatible distro I can find is Ubuntu 16.04 which ships lldb 3.8, though of course the package that the Ubuntu maintainers put together for that is broken.

Rocky Linux 8 amusingly ships lldb 17, even though it has a similar glibc and kernel version.

This PR is multiple highly mechanical changes. Some of the commits were created by just running `sed`. You may find it easier to review each commit separately.
Diffstat (limited to 'tests/debuginfo/static-method-on-struct-and-enum.rs')
-rw-r--r--tests/debuginfo/static-method-on-struct-and-enum.rs17
1 files changed, 5 insertions, 12 deletions
diff --git a/tests/debuginfo/static-method-on-struct-and-enum.rs b/tests/debuginfo/static-method-on-struct-and-enum.rs
index b4ec4543572..b487512a52f 100644
--- a/tests/debuginfo/static-method-on-struct-and-enum.rs
+++ b/tests/debuginfo/static-method-on-struct-and-enum.rs
@@ -1,5 +1,3 @@
-//@ min-lldb-version: 310
-
 //@ compile-flags:-g
 
 // === GDB TESTS ===================================================================================
@@ -29,23 +27,18 @@
 
 // STRUCT
 // lldb-command:v arg1
-// lldbg-check:[...] 1
-// lldbr-check:(isize) arg1 = 1
+// lldb-check:[...] 1
 // lldb-command:v arg2
-// lldbg-check:[...] 2
-// lldbr-check:(isize) arg2 = 2
+// lldb-check:[...] 2
 // lldb-command:continue
 
 // ENUM
 // lldb-command:v arg1
-// lldbg-check:[...] -3
-// lldbr-check:(isize) arg1 = -3
+// lldb-check:[...] -3
 // lldb-command:v arg2
-// lldbg-check:[...] 4.5
-// lldbr-check:(f64) arg2 = 4.5
+// lldb-check:[...] 4.5
 // lldb-command:v arg3
-// lldbg-check:[...] 5
-// lldbr-check:(usize) arg3 = 5
+// lldb-check:[...] 5
 // lldb-command:continue
 
 #![feature(omit_gdb_pretty_printer_section)]