about summary refs log tree commit diff
path: root/tests/codegen-llvm/gdb_debug_script_load.rs
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-06 18:01:07 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-08-06 18:01:07 +0000
commite02cc40ec96457ab563273a69d314418cea7eb84 (patch)
treea9c5c78d9f05ac1b9c4d95c650687d22b2cc8246 /tests/codegen-llvm/gdb_debug_script_load.rs
parent270c1a4d24ba4b244037c3fa1651d17a5f77eae4 (diff)
downloadrust-e02cc40ec96457ab563273a69d314418cea7eb84.tar.gz
rust-e02cc40ec96457ab563273a69d314418cea7eb84.zip
Revert "Preserve the .debug_gdb_scripts section"
This reverts commit 868bdde25b030e0b71a29a5dbc04a891036e702e.
Diffstat (limited to 'tests/codegen-llvm/gdb_debug_script_load.rs')
-rw-r--r--tests/codegen-llvm/gdb_debug_script_load.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/codegen-llvm/gdb_debug_script_load.rs b/tests/codegen-llvm/gdb_debug_script_load.rs
index 90f2be41cf2..3e92eba10b1 100644
--- a/tests/codegen-llvm/gdb_debug_script_load.rs
+++ b/tests/codegen-llvm/gdb_debug_script_load.rs
@@ -9,8 +9,6 @@
 #![feature(lang_items)]
 #![no_std]
 
-// CHECK: @llvm.used = {{.+}} @__rustc_debug_gdb_scripts_section
-
 #[panic_handler]
 fn panic_handler(_: &core::panic::PanicInfo) -> ! {
     loop {}
@@ -24,7 +22,7 @@ extern "C" fn rust_eh_personality() {
 // Needs rustc to generate `main` as that's where the magic load is inserted.
 // IOW, we cannot write this test with `#![no_main]`.
 // CHECK-LABEL: @main
-// CHECK: load volatile i8, {{.+}} @__rustc_debug_gdb_scripts_section
+// CHECK: load volatile i8, {{.+}} @__rustc_debug_gdb_scripts_section__
 
 #[lang = "start"]
 fn lang_start<T: 'static>(