Remove the omit_gdb_pretty_printer_section attribute

Disabling loading of pretty printers in the debugger itself is more
reliable. Before this commit the .gdb_debug_scripts section couldn't be
included in dylibs or rlibs as otherwise there is no way to disable the
section anymore without recompiling the entire standard library.
This commit is contained in:
bjorn3
2025-07-31 14:56:49 +00:00
parent 6c02dd4eae
commit ae2f8d9216
120 changed files with 209 additions and 387 deletions

View File

@@ -1,6 +1,7 @@
//@ ignore-lldb: FIXME(#27089)
//@ compile-flags:-g
//@ disable-gdb-pretty-printers
// === GDB TESTS ===================================================================================
// gdb-command:run
@@ -57,8 +58,6 @@
#![allow(unused_variables)]
#![allow(dead_code)]
#![feature(omit_gdb_pretty_printer_section)]
#![omit_gdb_pretty_printer_section]
// This test case makes sure that we get correct type descriptions for the enum
// discriminant of different instantiations of the same generic enum type where,