diff options
| author | Markus Reiter <me@reitermark.us> | 2024-03-15 15:05:57 +0100 |
|---|---|---|
| committer | Markus Reiter <me@reitermark.us> | 2024-03-15 15:38:03 +0100 |
| commit | 96431e4b822ff82268bf3f2bbbb7aacf2abc5761 (patch) | |
| tree | af08af546034165de64300c1828de26f74863dc6 /tests/debuginfo/method-on-tuple-struct.rs | |
| parent | 2047e847d7234117bf96583be3dcc4fb0f42d0bf (diff) | |
| download | rust-96431e4b822ff82268bf3f2bbbb7aacf2abc5761.tar.gz rust-96431e4b822ff82268bf3f2bbbb7aacf2abc5761.zip | |
Use explicit LLDB commands instead of `print`/`p` aliases.
Diffstat (limited to 'tests/debuginfo/method-on-tuple-struct.rs')
| -rw-r--r-- | tests/debuginfo/method-on-tuple-struct.rs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/debuginfo/method-on-tuple-struct.rs b/tests/debuginfo/method-on-tuple-struct.rs index 872f6ea57c2..9cf9c6d7fba 100644 --- a/tests/debuginfo/method-on-tuple-struct.rs +++ b/tests/debuginfo/method-on-tuple-struct.rs @@ -62,61 +62,61 @@ // lldb-command:run // STACK BY REF -// lldb-command:print *self +// lldb-command:v *self // lldbg-check:[...] { 0 = 100 1 = -100.5 } // lldbr-check:(method_on_tuple_struct::TupleStruct) *self = { 0 = 100 1 = -100.5 } -// lldb-command:print arg1 +// lldb-command:v arg1 // lldbg-check:[...] -1 // lldbr-check:(isize) arg1 = -1 -// lldb-command:print arg2 +// lldb-command:v arg2 // lldbg-check:[...] -2 // lldbr-check:(isize) arg2 = -2 // lldb-command:continue // STACK BY VAL -// lldb-command:print self +// lldb-command:v self // lldbg-check:[...] { 0 = 100 1 = -100.5 } // lldbr-check:(method_on_tuple_struct::TupleStruct) self = { 0 = 100 1 = -100.5 } -// lldb-command:print arg1 +// lldb-command:v arg1 // lldbg-check:[...] -3 // lldbr-check:(isize) arg1 = -3 -// lldb-command:print arg2 +// lldb-command:v arg2 // lldbg-check:[...] -4 // lldbr-check:(isize) arg2 = -4 // lldb-command:continue // OWNED BY REF -// lldb-command:print *self +// lldb-command:v *self // lldbg-check:[...] { 0 = 200 1 = -200.5 } // lldbr-check:(method_on_tuple_struct::TupleStruct) *self = { 0 = 200 1 = -200.5 } -// lldb-command:print arg1 +// lldb-command:v arg1 // lldbg-check:[...] -5 // lldbr-check:(isize) arg1 = -5 -// lldb-command:print arg2 +// lldb-command:v arg2 // lldbg-check:[...] -6 // lldbr-check:(isize) arg2 = -6 // lldb-command:continue // OWNED BY VAL -// lldb-command:print self +// lldb-command:v self // lldbg-check:[...] { 0 = 200 1 = -200.5 } // lldbr-check:(method_on_tuple_struct::TupleStruct) self = { 0 = 200 1 = -200.5 } -// lldb-command:print arg1 +// lldb-command:v arg1 // lldbg-check:[...] -7 // lldbr-check:(isize) arg1 = -7 -// lldb-command:print arg2 +// lldb-command:v arg2 // lldbg-check:[...] -8 // lldbr-check:(isize) arg2 = -8 // lldb-command:continue // OWNED MOVED -// lldb-command:print *self +// lldb-command:v *self // lldbg-check:[...] { 0 = 200 1 = -200.5 } // lldbr-check:(method_on_tuple_struct::TupleStruct) *self = { 0 = 200 1 = -200.5 } -// lldb-command:print arg1 +// lldb-command:v arg1 // lldbg-check:[...] -9 // lldbr-check:(isize) arg1 = -9 -// lldb-command:print arg2 +// lldb-command:v arg2 // lldbg-check:[...] -10 // lldbr-check:(isize) arg2 = -10 // lldb-command:continue |
