Skip to content

Commit

Permalink
Try to fix more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Aug 10, 2024
1 parent 1bc1383 commit b37d94f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions tests/debuginfo/by-value-non-immediate-argument.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@ min-lldb-version: 310

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

// === GDB TESTS ===================================================================================

Expand Down Expand Up @@ -41,11 +41,11 @@
// lldb-command:run

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

// lldb-command:v x
// lldb-check:[...] Struct { a: 3, b: 4.5 }
// lldb-check:[...] Struct { a = 3 b = 4.5 }
// lldb-command:v y
// lldb-check:[...] 5
// lldb-command:v z
Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/function-arg-initialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// arguments have been properly loaded when setting the breakpoint via the
// function name.

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

// === GDB TESTS ===================================================================================

Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/function-prologue-stepping-regular.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

//@ min-lldb-version: 310
//@ ignore-gdb
//@ compile-flags:-g
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts

// lldb-command:breakpoint set --name immediate_args
// lldb-command:breakpoint set --name non_immediate_args
Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/method-on-enum.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//@ min-lldb-version: 310

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

// === GDB TESTS ===================================================================================

Expand Down
2 changes: 1 addition & 1 deletion tests/debuginfo/struct-in-enum.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//@ min-lldb-version: 310
//@ ignore-gdb-version: 7.11.90 - 7.12.9

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

// === GDB TESTS ===================================================================================

Expand Down

0 comments on commit b37d94f

Please sign in to comment.