diff options
| author | ortem <ortem00@gmail.com> | 2019-05-14 15:50:58 +0300 |
|---|---|---|
| committer | ortem <ortem00@gmail.com> | 2020-06-09 16:13:11 +0300 |
| commit | 47c26e69a986d25ed9d26aebc2787334956a89ae (patch) | |
| tree | 66fd9f4f34dbcc2d4bd21068c49041d50d05eca4 /src/test/debuginfo/method-on-struct.rs | |
| parent | a9ca1ec9280ca1e5020edd699917c3367a30a798 (diff) | |
| download | rust-47c26e69a986d25ed9d26aebc2787334956a89ae.tar.gz rust-47c26e69a986d25ed9d26aebc2787334956a89ae.zip | |
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.
Diffstat (limited to 'src/test/debuginfo/method-on-struct.rs')
| -rw-r--r-- | src/test/debuginfo/method-on-struct.rs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/debuginfo/method-on-struct.rs b/src/test/debuginfo/method-on-struct.rs index cf8ed13e814..c764cf68323 100644 --- a/src/test/debuginfo/method-on-struct.rs +++ b/src/test/debuginfo/method-on-struct.rs @@ -63,7 +63,7 @@ // STACK BY REF // lldb-command:print *self -// lldbg-check:[...]$0 = Struct { x: 100 } +// lldbg-check:[...]$0 = { x = 100 } // lldbr-check:(method_on_struct::Struct) *self = Struct { x: 100 } // lldb-command:print arg1 // lldbg-check:[...]$1 = -1 @@ -75,7 +75,7 @@ // STACK BY VAL // lldb-command:print self -// lldbg-check:[...]$3 = Struct { x: 100 } +// lldbg-check:[...]$3 = { x = 100 } // lldbr-check:(method_on_struct::Struct) self = Struct { x: 100 } // lldb-command:print arg1 // lldbg-check:[...]$4 = -3 @@ -87,7 +87,7 @@ // OWNED BY REF // lldb-command:print *self -// lldbg-check:[...]$6 = Struct { x: 200 } +// lldbg-check:[...]$6 = { x = 200 } // lldbr-check:(method_on_struct::Struct) *self = Struct { x: 200 } // lldb-command:print arg1 // lldbg-check:[...]$7 = -5 @@ -99,7 +99,7 @@ // OWNED BY VAL // lldb-command:print self -// lldbg-check:[...]$9 = Struct { x: 200 } +// lldbg-check:[...]$9 = { x = 200 } // lldbr-check:(method_on_struct::Struct) self = Struct { x: 200 } // lldb-command:print arg1 // lldbg-check:[...]$10 = -7 @@ -111,7 +111,7 @@ // OWNED MOVED // lldb-command:print *self -// lldbg-check:[...]$12 = Struct { x: 200 } +// lldbg-check:[...]$12 = { x = 200 } // lldbr-check:(method_on_struct::Struct) *self = Struct { x: 200 } // lldb-command:print arg1 // lldbg-check:[...]$13 = -9 |
