Skip to content

Commit 1b68bca

Browse files
committed
More fixing
1 parent c3cf903 commit 1b68bca

7 files changed

+12
-12
lines changed

Diff for: tests/debuginfo/by-value-non-immediate-argument.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ min-lldb-version: 1800
2-
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
2+
//@ compile-flags:-g
33

44
// === GDB TESTS ===================================================================================
55

Diff for: tests/debuginfo/function-arg-initialization.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// function name.
77

88
//@ min-lldb-version: 1800
9-
//@ compile-flags:-g -Zmir-opt-level=0
9+
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
1010

1111
// === GDB TESTS ===================================================================================
1212

Diff for: tests/debuginfo/function-prologue-stepping-regular.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
//@ min-lldb-version: 1800
55
//@ ignore-gdb
6-
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
6+
//@ compile-flags:-g
77

88
// lldb-command:breakpoint set --name immediate_args
99
// lldb-command:breakpoint set --name non_immediate_args

Diff for: tests/debuginfo/method-on-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ min-lldb-version: 1800
22

3-
//@ compile-flags:-g -Zmir-opt-level=0
3+
//@ compile-flags:-g
44

55
// === GDB TESTS ===================================================================================
66

Diff for: tests/debuginfo/option-like-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ min-lldb-version: 1800
22

3-
//@ compile-flags:-g -Zmir-opt-level=0
3+
//@ compile-flags:-g
44

55
// === GDB TESTS ===================================================================================
66

Diff for: tests/debuginfo/pretty-std.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//@ ignore-android: FIXME(#10381)
44
//@ compile-flags:-g
55
//@ min-gdb-version: 7.7
6-
//@ min-lldb-version: 310
6+
//@ min-lldb-version: 1800
77
//@ min-cdb-version: 10.0.18317.1001
88

99
// === GDB TESTS ===================================================================================
@@ -44,16 +44,16 @@
4444
// lldb-command:run
4545

4646
// lldb-command:v slice
47-
// lldb-check:[...] slice = &[0, 1, 2, 3]
47+
// lldb-check:[...] slice = size=4 { [0] = 0 [1] = 1 [2] = 2 [3] = 3 }
4848

4949
// lldb-command:v vec
50-
// lldb-check:[...] vec = vec![4, 5, 6, 7]
50+
// lldb-check:[...] vec = size=4 { [0] = 4 [1] = 5 [2] = 6 [3] = 7 }
5151

5252
// lldb-command:v str_slice
53-
// lldb-check:[...] str_slice = "IAMA string slice!"
53+
// lldb-check:[...] str_slice = "IAMA string slice!" { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = ' ' [12] = 's' [13] = 'l' [14] = 'i' [15] = 'c' [16] = 'e' [17] = '!' }
5454

5555
// lldb-command:v string
56-
// lldb-check:[...] string = "IAMA string!"
56+
// lldb-check:[...] string = "IAMA string!" { vec = size=12 { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 's' [6] = 't' [7] = 'r' [8] = 'i' [9] = 'n' [10] = 'g' [11] = '!' } }
5757

5858
// lldb-command:v some
5959
// lldb-check:[...] some = Some(8)
@@ -62,7 +62,7 @@
6262
// lldb-check:[...] none = None
6363

6464
// lldb-command:v os_string
65-
// lldb-check:[...] os_string = "IAMA OS string 😃"[...]
65+
// lldb-check:[...] os_string = "IAMA OS string 😃" { inner = { inner = size=19 { [0] = 'I' [1] = 'A' [2] = 'M' [3] = 'A' [4] = ' ' [5] = 'O' [6] = 'S' [7] = ' ' [8] = 's' [9] = 't' [10] = 'r' [11] = 'i' [12] = 'n' [13] = 'g' [14] = ' ' [15] = '\xf0' [16] = '\x9f' [17] = '\x98' [18] = '\x83' } } }
6666

6767
// === CDB TESTS ==================================================================================
6868

Diff for: tests/debuginfo/struct-in-enum.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ min-lldb-version: 1800
22
//@ ignore-gdb-version: 7.11.90 - 7.12.9
33

4-
//@ compile-flags:-g -Zmir-opt-level=0
4+
//@ compile-flags:-g
55

66
// === GDB TESTS ===================================================================================
77

0 commit comments

Comments
 (0)