diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-03 21:56:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-03 21:56:56 +0200 |
| commit | 3823f0bc078c90eb0df74fa08fcae52b2c269330 (patch) | |
| tree | 50529238b372a92b9eaa9a04fdfd1d9414d70b72 /tests/debuginfo/enum-thinlto.rs | |
| parent | 116619fb81ee1e53f9e71914949049fdb2b39282 (diff) | |
| parent | ae2f8d921654f01e008824385fb1e1d7b36ce705 (diff) | |
| download | rust-3823f0bc078c90eb0df74fa08fcae52b2c269330.tar.gz rust-3823f0bc078c90eb0df74fa08fcae52b2c269330.zip | |
Rollup merge of #144738 - bjorn3:remove_omit_gdb_pretty_printer_section, r=jieyouxu
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.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
| -rw-r--r-- | tests/debuginfo/enum-thinlto.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/debuginfo/enum-thinlto.rs b/tests/debuginfo/enum-thinlto.rs index af77145c312..6eb33b2ef46 100644 --- a/tests/debuginfo/enum-thinlto.rs +++ b/tests/debuginfo/enum-thinlto.rs @@ -1,5 +1,6 @@ //@ min-lldb-version: 1800 //@ compile-flags:-g -Z thinlto +//@ disable-gdb-pretty-printers // === GDB TESTS =================================================================================== @@ -16,8 +17,6 @@ // lldb-check:(enum_thinlto::ABC) *abc = { value = { x = 0 y = 8970181431921507452 } $discr$ = 0 } #![allow(unused_variables)] -#![feature(omit_gdb_pretty_printer_section)] -#![omit_gdb_pretty_printer_section] // The first element is to ensure proper alignment, irrespective of the machines word size. Since // the size of the discriminant value is machine dependent, this has be taken into account when |
