Implement new gdb/lldb pretty-printers

Replace old GDB and LLDB pretty-printers with new ones
which were originally written for IntelliJ Rust.
New LLDB pretty-printers support synthetic children.
New GDB/LLDB pretty-printers support all Rust types
supported by old pretty-printers, and also support:
Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.
This commit is contained in:
ortem 2019-05-14 15:50:58 +03:00
parent a9ca1ec928
commit 47c26e69a9
59 changed files with 1871 additions and 1495 deletions

View file

@ -15,7 +15,8 @@
// lldb-command:run
// lldb-command:print *abc
// lldbg-check:(enum_thinlto::ABC) $0 = ABC { }
// lldbg-check:(enum_thinlto::ABC) $0 =
// lldbr-check:(enum_thinlto::ABC) *abc = (x = 0, y = 8970181431921507452)
#![allow(unused_variables)]
#![feature(omit_gdb_pretty_printer_section)]