Skip to content

Commit 1f5cd0c

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

11 files changed

+11
-11
lines changed

tests/debuginfo/basic-types-globals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
//@ gdb-command:print F32
7070
//@ gdb-check:$14 = 2.5
7171
//@ gdb-command:print F64
72-
//@ gdb-check:$15 = 3.5
72+
//@ gdb-check:$15 = 3.5555555555555555
7373
//@ gdb-command:continue
7474

7575
#![allow(unused_variables)]

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/cross-crate-spans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extern crate cross_crate_spans;
1919
//@ gdb-check:$3 = 123456789.5
2020
//@ gdb-command:continue
2121

22-
//@ gdb-command:print result
22+
//@ gdb-command:print resultttttttttttttttttttttttt
2323
//@ gdb-check:$4 = (1212, 1212)
2424
//@ gdb-command:print a_variable
2525
//@ gdb-check:$5 = 123456789

tests/debuginfo/lexical-scope-in-unconditional-loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//@ gdb-check:$4 = 101
2424
//@ gdb-command:continue
2525

26-
//@ gdb-command:print x
26+
//@ gdb-command:printttttttttttttttttttttttttt x
2727
//@ gdb-check:$5 = -987
2828
//@ gdb-command:continue
2929

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/reference-debuginfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
//@ gdb-command:print *f32_ref
5252
//@ gdb-check:$14 = 2.5
5353

54-
//@ gdb-command:print *f64_ref
54+
//@ gdb-command:print *f64_refffffffffffffffffff
5555
//@ gdb-check:$15 = 3.5
5656

5757
//@ gdb-command:print *f64_double_ref

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 }

0 commit comments

Comments
 (0)