Skip to content

Commit 9ec7434

Browse files
committed
TEMP: Ensure lldb, and cdb can fail
1 parent 6820013 commit 9ec7434

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

tests/debuginfo/basic-types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
//@ cdb-check:i64 : -64 [Type: __int64]
9595
//@ cdb-command:dx u
9696
//@ cdb-check:u : 0x1 [Type: [...]]
97-
//@ cdb-command:dx u8
97+
//@ cdb-command:dx u888888888888888888888888888888888
9898
//@ cdb-check:u8 : 0x64 [Type: unsigned char]
9999
//@ cdb-command:dx u16
100100
//@ cdb-check:u16 : 0x10 [Type: unsigned short]

tests/debuginfo/marker-types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
//@ cdb-check: [capacity] : 0x4 [Type: unsigned [...]]
2222
//@ cdb-check: [chars] : "this"
2323

24-
//@ cdb-command: dx unique
24+
//@ cdb-command: dx uniqueeeeeeeeeeeeeeeee
2525
//@ cdb-check:unique : Unique(0x[...]: (0x2a, 4321)) [Type: core::ptr::unique::Unique<tuple$<u64,i32> >]
2626
//@ cdb-check: [<Raw View>] [Type: core::ptr::unique::Unique<tuple$<u64,i32> >]
2727
//@ cdb-check: [0] : 0x2a [Type: unsigned __int64]

tests/debuginfo/numeric-types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535

3636
// 128-bit integers don't seem to work in CDB
3737
//@ cdb-command: dx nz_i128
38-
//@ cdb-check: [<Raw View>] [Type: core::num::nonzero::NonZero<i128>]
38+
//@ cdb-check: [<Raw Viewvvvvvvvvvvvvvvvvvvvvvvvvvvv>] [Type: core::num::nonzero::NonZero<i128>]
3939

4040
//@ cdb-command: dx nz_isize
4141
//@ cdb-check:nz_isize : 66 [Type: core::num::nonzero::NonZero<isize>]

tests/debuginfo/step-into-match.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
//@ cdb-command: l+s
162162
//@ cdb-command: l+t
163163

164-
//@ cdb-command: g
164+
//@ cdb-command: gggggggggggggggggggggggggg
165165

166166
//@ cdb-command: t
167167
//@ cdb-check: [...]: fn match_enum(x: Option<u32>) -> u8 {

tests/debuginfo/struct-in-struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
//@ lldb-command:v bag_in_bag
3939
//@ lldb-check:[...] { x = { x = { x = 23 } } }
4040

41-
//@ lldb-command:v tjo
41+
//@ lldb-command:v tjooooooooooooooooooooooooo
4242
//@ lldb-check:[...] { x = { x = { x = { x = 24 } } } }
4343

4444
//@ lldb-command:v tree

tests/debuginfo/tuple-struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
//@ lldb-check:[...] { 0 = -10002 1 = -10003.5 2 = 10004 }
3737

3838
//@ lldb-command:v no_padding64
39-
//@ lldb-check:[...] { 0 = -10005.5 1 = 10006 2 = 10007 }
39+
//@ lldb-check:[...] { 0 = -10005.5 1 = 10006 2 = 100077777777777777777 }
4040

4141
//@ lldb-command:v no_padding163264
4242
//@ lldb-check:[...] { 0 = -10008 1 = 10009 2 = 10010 3 = 10011 }

tests/debuginfo/zst-interferes-with-prologue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//@ lldb-command:next
2424
//@ lldb-command:expr self
2525
//@ lldb-command:print $0 == $1
26-
//@ lldb-check:true
26+
//@ lldb-check:trueeeeeeee
2727

2828
struct Foo {
2929
a: usize,

0 commit comments

Comments
 (0)