Skip to content

Commit 3ee1219

Browse files
committed
Fix remaining LLDB commands.
1 parent 96431e4 commit 3ee1219

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed

tests/debuginfo/empty-string.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717

1818
// === LLDB TESTS ==================================================================================
1919

20-
// lldb-command: run
20+
// lldb-command:run
2121

22-
// lldb-command: fr v empty_string
22+
// lldb-command:fr v empty_string
2323
// lldb-check:[...] empty_string = "" { vec = size=0 }
2424

25-
// lldb-command: fr v empty_str
25+
// lldb-command:fr v empty_str
2626
// lldb-check:[...] empty_str = "" { data_ptr = [...] length = 0 }
2727

2828
fn main() {

tests/debuginfo/no_mangle-info.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
// === LLDB TESTS ==================================================================================
1212
// lldb-command:run
1313
// lldb-command:v TEST
14-
// lldb-check: (unsigned long) TEST = 3735928559
14+
// lldb-check:(unsigned long) TEST = 3735928559
1515
// lldb-command:v OTHER_TEST
16-
// lldb-check: (unsigned long) no_mangle_info::namespace::OTHER_TEST::[...] = 42
16+
// lldb-check:(unsigned long) no_mangle_info::namespace::OTHER_TEST::[...] = 42
1717

1818
// === CDB TESTS ==================================================================================
1919
// cdb-command: g

tests/debuginfo/pretty-slices.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
// gdb-command: print mut_str_slice
1919
// gdb-check: $4 = "mutable string slice"
2020

21-
// lldb-command: run
21+
// lldb-command:run
2222

23-
// lldb-command: print slice
24-
// lldb-check: (&[i32]) size=3 { [0] = 0 [1] = 1 [2] = 2 }
23+
// lldb-command:v slice
24+
// lldb-check:(&[i32]) slice = size=3 { [0] = 0 [1] = 1 [2] = 2 }
2525

26-
// lldb-command: print mut_slice
27-
// lldb-check: (&mut [i32]) size=4 { [0] = 2 [1] = 3 [2] = 5 [3] = 7 }
26+
// lldb-command:v mut_slice
27+
// lldb-check:(&mut [i32]) mut_slice = size=4 { [0] = 2 [1] = 3 [2] = 5 [3] = 7 }
2828

29-
// lldb-command: print str_slice
30-
// lldb-check: (&str) "string slice" { data_ptr = [...] length = 12 }
29+
// lldb-command:v str_slice
30+
// lldb-check:(&str) str_slice = "string slice" { data_ptr = [...] length = 12 }
3131

32-
// lldb-command: print mut_str_slice
33-
// lldb-check: (&mut str) "mutable string slice" { data_ptr = [...] length = 20 }
32+
// lldb-command:v mut_str_slice
33+
// lldb-check:(&mut str) mut_str_slice = "mutable string slice" { data_ptr = [...] length = 20 }
3434

3535
fn b() {}
3636

tests/debuginfo/pretty-std.rs

+15-15
Original file line numberDiff line numberDiff line change
@@ -42,28 +42,28 @@
4242

4343
// === LLDB TESTS ==================================================================================
4444

45-
// lldb-command: run
45+
// lldb-command:run
4646

47-
// lldb-command: print slice
48-
// lldb-check:[...] &[0, 1, 2, 3]
47+
// lldb-command:v slice
48+
// lldb-check:[...] slice = &[0, 1, 2, 3]
4949

50-
// lldb-command: print vec
51-
// lldb-check:[...] vec![4, 5, 6, 7]
50+
// lldb-command:v vec
51+
// lldb-check:[...] vec = vec![4, 5, 6, 7]
5252

53-
// lldb-command: print str_slice
54-
// lldb-check:[...] "IAMA string slice!"
53+
// lldb-command:v str_slice
54+
// lldb-check:[...] str_slice = "IAMA string slice!"
5555

56-
// lldb-command: print string
57-
// lldb-check:[...] "IAMA string!"
56+
// lldb-command:v string
57+
// lldb-check:[...] string = "IAMA string!"
5858

59-
// lldb-command: print some
60-
// lldb-check:[...] Some(8)
59+
// lldb-command:v some
60+
// lldb-check:[...] some = Some(8)
6161

62-
// lldb-command: print none
63-
// lldb-check:[...] None
62+
// lldb-command:v none
63+
// lldb-check:[...] none = None
6464

65-
// lldb-command: print os_string
66-
// lldb-check:[...] "IAMA OS string 😃"[...]
65+
// lldb-command:v os_string
66+
// lldb-check:[...] os_string = "IAMA OS string 😃"[...]
6767

6868
// === CDB TESTS ==================================================================================
6969

0 commit comments

Comments
 (0)