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:
@@ -2,6 +2,7 @@
|
||||
//@ min-gdb-version: 13.0
|
||||
|
||||
//@ compile-flags:-g
|
||||
//@ disable-gdb-pretty-printers
|
||||
|
||||
// === GDB TESTS ===================================================================================
|
||||
|
||||
@@ -69,9 +70,6 @@
|
||||
// lldb-check:[...] Nope
|
||||
|
||||
|
||||
#![feature(omit_gdb_pretty_printer_section)]
|
||||
#![omit_gdb_pretty_printer_section]
|
||||
|
||||
// If a struct has exactly two variants, one of them is empty, and the other one
|
||||
// contains a non-nullable pointer, then this value is used as the discriminator.
|
||||
// The test cases in this file make sure that something readable is generated for
|
||||
|
||||
Reference in New Issue
Block a user