Skip to content

Commit b37d94f

Browse files
committed
Try to fix more tests
1 parent 1bc1383 commit b37d94f

5 files changed

+7
-7
lines changed

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

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

3-
//@ compile-flags:-g
3+
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
44

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

@@ -41,11 +41,11 @@
4141
// lldb-command:run
4242

4343
// lldb-command:v s
44-
// lldb-check:[...] Struct { a: 1, b: 2.5 }
44+
// lldb-check:[...] Struct { a = 1 b = 2.5 }
4545
// lldb-command:continue
4646

4747
// lldb-command:v x
48-
// lldb-check:[...] Struct { a: 3, b: 4.5 }
48+
// lldb-check:[...] Struct { a = 3 b = 4.5 }
4949
// lldb-command:v y
5050
// lldb-check:[...] 5
5151
// lldb-command:v z

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// arguments have been properly loaded when setting the breakpoint via the
88
// function name.
99

10-
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
10+
//@ compile-flags:-g -Zmir-opt-level=0
1111

1212
// === GDB TESTS ===================================================================================
1313

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: 310
55
//@ ignore-gdb
6-
//@ compile-flags:-g
6+
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
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: 310
22

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

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

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: 310
22
//@ ignore-gdb-version: 7.11.90 - 7.12.9
33

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

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

0 commit comments

Comments
 (0)