-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Delete all code for handling lldb and gdb versions that don't support Rust natively #128953
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
4 tasks done
Labels
A-compiletest
Area: The compiletest test runner
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
Comments
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support Implements rust-lang#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. r? `@ghost` try-job: aarch64-apple try-job: aarch64-gnu try-job: dist-i586-gnu-i586-i686-musl try-job: i686-gnu try-job: i686-gnu-nopt try-job: i686-mingw try-job: i686-msvc try-job: test-various try-job: x86_64-apple-1
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support Implements rust-lang#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. try-job: x86_64-apple-1
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 18, 2024
Delete debuginfo test suite support for gdb/lldb without native Rust support Implements rust-lang#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. try-job: x86_64-apple-1 try-job: aarch64-apple
Turns out the modern side of the version split for lldb is the version without Rust support. That's a bummer, but still the goal here is to delete unused code. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Aug 19, 2024
…eyouxu Delete debuginfo test suite infra for gdb without Rust support and lldb with Rust support Implements rust-lang#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.
github-actions bot
pushed a commit
to rust-lang/miri
that referenced
this issue
Aug 20, 2024
Delete debuginfo test suite infra for gdb without Rust support and lldb with Rust support Implements rust-lang/rust#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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-compiletest
Area: The compiletest test runner
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
WG-debugging
Working group: Bad Rust debugging experiences
We have a fair bit of code in both
src/tools/compiletest
andtests/debuginfo
devoted to handling the 7.X releases of gdb, because those had no built-in Rust support. But as of this year at least, the oldest supported RHEL version is now shipping gdb 8.2 so there's no reason for us to be pretending to support versions of gdb before 8.2.The dev guide also vaguely indicates that this distinction for lldb shouldn't exist anymore:
https://github.com/rust-lang/rustc-dev-guide/blob/43d83780db545a1ed6d45773312fc578987e3968/src/tests/compiletest.md?plain=1#L216
https://github.com/rust-lang/rustc-dev-guide/blob/43d83780db545a1ed6d45773312fc578987e3968/src/tests/compiletest.md?plain=1#L253-L255
gdbg
annotations intests/debuginfo
, and convert allgdbr
to justgdb
lldbg
annotations intests/debuginfo
and convert alllldbr
tolldb
The text was updated successfully, but these errors were encountered: