Skip to content

Commit dd6d8e2

Browse files
committed
Delete lldbg commands
1 parent a95f980 commit dd6d8e2

File tree

77 files changed

+2
-716
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2
-716
lines changed

tests/debuginfo/associated-types.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,41 +41,32 @@
4141
// lldb-command:run
4242

4343
// lldb-command:v arg
44-
// lldbg-check:[...] { b = -1, b1 = 0 }
4544
// lldbr-check:(associated_types::Struct<i32>) arg = { b = -1, b1 = 0 }
4645
// lldb-command:continue
4746

4847
// lldb-command:v inferred
49-
// lldbg-check:[...] 1
5048
// lldbr-check:(i64) inferred = 1
5149
// lldb-command:v explicitly
52-
// lldbg-check:[...] 1
5350
// lldbr-check:(i64) explicitly = 1
5451
// lldb-command:continue
5552

5653
// lldb-command:v arg
57-
// lldbg-check:[...] 2
5854
// lldbr-check:(i64) arg = 2
5955
// lldb-command:continue
6056

6157
// lldb-command:v arg
62-
// lldbg-check:[...] (4, 5)
6358
// lldbr-check:((i32, i64)) arg = { = 4 = 5 }
6459
// lldb-command:continue
6560

6661
// lldb-command:v a
67-
// lldbg-check:[...] 6
6862
// lldbr-check:(i32) a = 6
6963
// lldb-command:v b
70-
// lldbg-check:[...] 7
7164
// lldbr-check:(i64) b = 7
7265
// lldb-command:continue
7366

7467
// lldb-command:v a
75-
// lldbg-check:[...] 8
7668
// lldbr-check:(i64) a = 8
7769
// lldb-command:v b
78-
// lldbg-check:[...] 9
7970
// lldbr-check:(i32) b = 9
8071
// lldb-command:continue
8172

tests/debuginfo/basic-types.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,48 +48,35 @@
4848

4949
// lldb-command:run
5050
// lldb-command:v b
51-
// lldbg-check:[...] false
5251
// lldbr-check:(bool) b = false
5352
// lldb-command:v i
54-
// lldbg-check:[...] -1
5553
// lldbr-check:(isize) i = -1
5654

5755
// NOTE: only rust-enabled lldb supports 32bit chars
5856
// lldbr-command:print c
5957
// lldbr-check:(char) c = 'a'
6058

6159
// lldb-command:v i8
62-
// lldbg-check:[...] 'D'
6360
// lldbr-check:(i8) i8 = 68
6461
// lldb-command:v i16
65-
// lldbg-check:[...] -16
6662
// lldbr-check:(i16) i16 = -16
6763
// lldb-command:v i32
68-
// lldbg-check:[...] -32
6964
// lldbr-check:(i32) i32 = -32
7065
// lldb-command:v i64
71-
// lldbg-check:[...] -64
7266
// lldbr-check:(i64) i64 = -64
7367
// lldb-command:v u
74-
// lldbg-check:[...] 1
7568
// lldbr-check:(usize) u = 1
7669
// lldb-command:v u8
77-
// lldbg-check:[...] 'd'
7870
// lldbr-check:(u8) u8 = 100
7971
// lldb-command:v u16
80-
// lldbg-check:[...] 16
8172
// lldbr-check:(u16) u16 = 16
8273
// lldb-command:v u32
83-
// lldbg-check:[...] 32
8474
// lldbr-check:(u32) u32 = 32
8575
// lldb-command:v u64
86-
// lldbg-check:[...] 64
8776
// lldbr-check:(u64) u64 = 64
8877
// lldb-command:v f32
89-
// lldbg-check:[...] 2.5
9078
// lldbr-check:(f32) f32 = 2.5
9179
// lldb-command:v f64
92-
// lldbg-check:[...] 3.5
9380
// lldbr-check:(f64) f64 = 3.5
9481

9582
// === CDB TESTS ===================================================================================

tests/debuginfo/borrowed-basic.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,63 +54,49 @@
5454

5555
// lldb-command:run
5656
// lldb-command:v *bool_ref
57-
// lldbg-check:[...] true
5857
// lldbr-check:(bool) *bool_ref = true
5958

6059
// lldb-command:v *int_ref
61-
// lldbg-check:[...] -1
6260
// lldbr-check:(isize) *int_ref = -1
6361

6462
// NOTE: only rust-enabled lldb supports 32bit chars
6563
// lldbr-command:print *char_ref
6664
// lldbr-check:(char) *char_ref = 'a'
6765

6866
// lldb-command:v *i8_ref
69-
// lldbg-check:[...] 'D'
7067
// lldbr-check:(i8) *i8_ref = 68
7168

7269
// lldb-command:v *i16_ref
73-
// lldbg-check:[...] -16
7470
// lldbr-check:(i16) *i16_ref = -16
7571

7672
// lldb-command:v *i32_ref
77-
// lldbg-check:[...] -32
7873
// lldbr-check:(i32) *i32_ref = -32
7974

8075
// lldb-command:v *i64_ref
81-
// lldbg-check:[...] -64
8276
// lldbr-check:(i64) *i64_ref = -64
8377

8478
// lldb-command:v *uint_ref
85-
// lldbg-check:[...] 1
8679
// lldbr-check:(usize) *uint_ref = 1
8780

8881
// lldb-command:v *u8_ref
89-
// lldbg-check:[...] 'd'
9082
// lldbr-check:(u8) *u8_ref = 100
9183

9284
// lldb-command:v *u16_ref
93-
// lldbg-check:[...] 16
9485
// lldbr-check:(u16) *u16_ref = 16
9586

9687
// lldb-command:v *u32_ref
97-
// lldbg-check:[...] 32
9888
// lldbr-check:(u32) *u32_ref = 32
9989

10090
// lldb-command:v *u64_ref
101-
// lldbg-check:[...] 64
10291
// lldbr-check:(u64) *u64_ref = 64
10392

10493
// lldb-command:v *f16_ref
105-
// lldbg-check:[...] 1.5
10694
// lldbr-check:(f16) *f16_ref = 1.5
10795

10896
// lldb-command:v *f32_ref
109-
// lldbg-check:[...] 2.5
11097
// lldbr-check:(f32) *f32_ref = 2.5
11198

11299
// lldb-command:v *f64_ref
113-
// lldbg-check:[...] 3.5
114100
// lldbr-check:(f64) *f64_ref = 3.5
115101

116102
#![allow(unused_variables)]

tests/debuginfo/borrowed-c-style-enum.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@
2020
// lldb-command:run
2121

2222
// lldb-command:v *the_a_ref
23-
// lldbg-check:[...] TheA
2423
// lldbr-check:(borrowed_c_style_enum::ABC) *the_a_ref = borrowed_c_style_enum::ABC::TheA
2524

2625
// lldb-command:v *the_b_ref
27-
// lldbg-check:[...] TheB
2826
// lldbr-check:(borrowed_c_style_enum::ABC) *the_b_ref = borrowed_c_style_enum::ABC::TheB
2927

3028
// lldb-command:v *the_c_ref
31-
// lldbg-check:[...] TheC
3229
// lldbr-check:(borrowed_c_style_enum::ABC) *the_c_ref = borrowed_c_style_enum::ABC::TheC
3330

3431
#![allow(unused_variables)]

tests/debuginfo/borrowed-enum.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,10 @@
2323
// lldb-command:run
2424

2525
// lldb-command:v *the_a_ref
26-
// lldbg-check:(borrowed_enum::ABC) *the_a_ref = { value = { x = 0 y = 8970181431921507452 } $discr$ = 0 }
2726
// lldbr-check:(borrowed_enum::ABC::TheA) *the_a_ref = TheA { TheA: 0, TheB: 8970181431921507452 }
2827
// lldb-command:v *the_b_ref
29-
// lldbg-check:(borrowed_enum::ABC) *the_b_ref = { value = { 0 = 0 1 = 286331153 2 = 286331153 } $discr$ = 1 }
3028
// lldbr-check:(borrowed_enum::ABC::TheB) *the_b_ref = { = 0 = 286331153 = 286331153 }
3129
// lldb-command:v *univariant_ref
32-
// lldbg-check:(borrowed_enum::Univariant) *univariant_ref = { value = { 0 = 4820353753753434 } }
3330
// lldbr-check:(borrowed_enum::Univariant) *univariant_ref = { TheOnlyCase = { = 4820353753753434 } }
3431

3532
#![allow(unused_variables)]

tests/debuginfo/borrowed-struct.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,24 @@
3232
// lldb-command:run
3333

3434
// lldb-command:v *stack_val_ref
35-
// lldbg-check:[...] { x = 10 y = 23.5 }
3635
// lldbr-check:(borrowed_struct::SomeStruct) *stack_val_ref = (x = 10, y = 23.5)
3736

3837
// lldb-command:v *stack_val_interior_ref_1
39-
// lldbg-check:[...] 10
4038
// lldbr-check:(isize) *stack_val_interior_ref_1 = 10
4139

4240
// lldb-command:v *stack_val_interior_ref_2
43-
// lldbg-check:[...] 23.5
4441
// lldbr-check:(f64) *stack_val_interior_ref_2 = 23.5
4542

4643
// lldb-command:v *ref_to_unnamed
47-
// lldbg-check:[...] { x = 11 y = 24.5 }
4844
// lldbr-check:(borrowed_struct::SomeStruct) *ref_to_unnamed = (x = 11, y = 24.5)
4945

5046
// lldb-command:v *unique_val_ref
51-
// lldbg-check:[...] { x = 13 y = 26.5 }
5247
// lldbr-check:(borrowed_struct::SomeStruct) *unique_val_ref = (x = 13, y = 26.5)
5348

5449
// lldb-command:v *unique_val_interior_ref_1
55-
// lldbg-check:[...] 13
5650
// lldbr-check:(isize) *unique_val_interior_ref_1 = 13
5751

5852
// lldb-command:v *unique_val_interior_ref_2
59-
// lldbg-check:[...] 26.5
6053
// lldbr-check:(f64) *unique_val_interior_ref_2 = 26.5
6154

6255
#![allow(unused_variables)]

tests/debuginfo/borrowed-tuple.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,12 @@
2121
// lldb-command:run
2222

2323
// lldb-command:v *stack_val_ref
24-
// lldbg-check:[...] { 0 = -14 1 = -19 }
2524
// lldbr-check:((i16, f32)) *stack_val_ref = { 0 = -14 1 = -19 }
2625

2726
// lldb-command:v *ref_to_unnamed
28-
// lldbg-check:[...] { 0 = -15 1 = -20 }
2927
// lldbr-check:((i16, f32)) *ref_to_unnamed = { 0 = -15 1 = -20 }
3028

3129
// lldb-command:v *unique_val_ref
32-
// lldbg-check:[...] { 0 = -17 1 = -22 }
3330
// lldbr-check:((i16, f32)) *unique_val_ref = { 0 = -17 1 = -22 }
3431

3532

tests/debuginfo/borrowed-unique-basic.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -59,63 +59,49 @@
5959
// lldb-command:run
6060

6161
// lldb-command:v *bool_ref
62-
// lldbg-check:[...] true
6362
// lldbr-check:(bool) *bool_ref = true
6463

6564
// lldb-command:v *int_ref
66-
// lldbg-check:[...] -1
6765
// lldbr-check:(isize) *int_ref = -1
6866

6967
// NOTE: only rust-enabled lldb supports 32bit chars
7068
// lldbr-command:print *char_ref
7169
// lldbr-check:(char) *char_ref = 97
7270

7371
// lldb-command:v *i8_ref
74-
// lldbg-check:[...] 68
7572
// lldbr-check:(i8) *i8_ref = 68
7673

7774
// lldb-command:v *i16_ref
78-
// lldbg-check:[...] -16
7975
// lldbr-check:(i16) *i16_ref = -16
8076

8177
// lldb-command:v *i32_ref
82-
// lldbg-check:[...] -32
8378
// lldbr-check:(i32) *i32_ref = -32
8479

8580
// lldb-command:v *i64_ref
86-
// lldbg-check:[...] -64
8781
// lldbr-check:(i64) *i64_ref = -64
8882

8983
// lldb-command:v *uint_ref
90-
// lldbg-check:[...] 1
9184
// lldbr-check:(usize) *uint_ref = 1
9285

9386
// lldb-command:v *u8_ref
94-
// lldbg-check:[...] 100
9587
// lldbr-check:(u8) *u8_ref = 100
9688

9789
// lldb-command:v *u16_ref
98-
// lldbg-check:[...] 16
9990
// lldbr-check:(u16) *u16_ref = 16
10091

10192
// lldb-command:v *u32_ref
102-
// lldbg-check:[...] 32
10393
// lldbr-check:(u32) *u32_ref = 32
10494

10595
// lldb-command:v *u64_ref
106-
// lldbg-check:[...] 64
10796
// lldbr-check:(u64) *u64_ref = 64
10897

10998
// lldb-command:v *f16_ref
110-
// lldbg-check:[...] 1.5
11199
// lldbr-check:(f16) *f16_ref = 1.5
112100

113101
// lldb-command:v *f32_ref
114-
// lldbg-check:[...] 2.5
115102
// lldbr-check:(f32) *f32_ref = 2.5
116103

117104
// lldb-command:v *f64_ref
118-
// lldbg-check:[...] 3.5
119105
// lldbr-check:(f64) *f64_ref = 3.5
120106

121107
#![allow(unused_variables)]

tests/debuginfo/box.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616

1717
// lldb-command:run
1818
// lldb-command:v *a
19-
// lldbg-check:[...] 1
2019
// lldbr-check:(i32) *a = 1
2120
// lldb-command:v *b
22-
// lldbg-check:[...] { 0 = 2 1 = 3.5 }
2321
// lldbr-check:((i32, f64)) *b = { 0 = 2 1 = 3.5 }
2422

2523
#![allow(unused_variables)]

tests/debuginfo/boxed-struct.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
// lldb-command:run
1919

2020
// lldb-command:v *boxed_with_padding
21-
// lldbg-check:[...] { x = 99 y = 999 z = 9999 w = 99999 }
2221
// lldbr-check:(boxed_struct::StructWithSomePadding) *boxed_with_padding = { x = 99 y = 999 z = 9999 w = 99999 }
2322

2423
// lldb-command:v *boxed_with_dtor
25-
// lldbg-check:[...] { x = 77 y = 777 z = 7777 w = 77777 }
2624
// lldbr-check:(boxed_struct::StructWithDestructor) *boxed_with_dtor = { x = 77 y = 777 z = 7777 w = 77777 }
2725

2826
#![allow(unused_variables)]

tests/debuginfo/by-value-self-argument-in-trait-impl.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,14 @@
2424
// lldb-command:run
2525

2626
// lldb-command:v self
27-
// lldbg-check:[...] 1111
2827
// lldbr-check:(isize) self = 1111
2928
// lldb-command:continue
3029

3130
// lldb-command:v self
32-
// lldbg-check:[...] { x = 2222 y = 3333 }
3331
// lldbr-check:(by_value_self_argument_in_trait_impl::Struct) self = { x = 2222 y = 3333 }
3432
// lldb-command:continue
3533

3634
// lldb-command:v self
37-
// lldbg-check:[...] { 0 = 4444.5 1 = 5555 2 = 6666 3 = 7777.5 }
3835
// lldbr-check:((f64, isize, isize, f64)) self = { 0 = 4444.5 1 = 5555 2 = 6666 3 = 7777.5 }
3936
// lldb-command:continue
4037

tests/debuginfo/c-style-enum-in-composite.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,24 @@
3232
// lldb-command:run
3333

3434
// lldb-command:v tuple_interior_padding
35-
// lldbg-check:[...] { 0 = 0 1 = OneHundred }
3635
// lldbr-check:((i16, c_style_enum_in_composite::AnEnum)) tuple_interior_padding = { 0 = 0 1 = OneHundred }
3736

3837
// lldb-command:v tuple_padding_at_end
39-
// lldbg-check:[...] { 0 = { 0 = 1 1 = OneThousand } 1 = 2 }
4038
// lldbr-check:(((u64, c_style_enum_in_composite::AnEnum), u64)) tuple_padding_at_end = { 0 = { 0 = 1 1 = OneThousand } 1 = 2 }
4139

4240
// lldb-command:v tuple_different_enums
43-
// lldbg-check:[...] { 0 = OneThousand 1 = MountainView 2 = OneMillion 3 = Vienna }
4441
// lldbr-check:((c_style_enum_in_composite::AnEnum, c_style_enum_in_composite::AnotherEnum, c_style_enum_in_composite::AnEnum, c_style_enum_in_composite::AnotherEnum)) tuple_different_enums = { 0 = c_style_enum_in_composite::AnEnum::OneThousand 1 = c_style_enum_in_composite::AnotherEnum::MountainView 2 = c_style_enum_in_composite::AnEnum::OneMillion 3 = c_style_enum_in_composite::AnotherEnum::Vienna }
4542

4643
// lldb-command:v padded_struct
47-
// lldbg-check:[...] { a = 3 b = OneMillion c = 4 d = Toronto e = 5 }
4844
// lldbr-check:(c_style_enum_in_composite::PaddedStruct) padded_struct = { a = 3 b = c_style_enum_in_composite::AnEnum::OneMillion c = 4 d = Toronto e = 5 }
4945

5046
// lldb-command:v packed_struct
51-
// lldbg-check:[...] { a = 6 b = OneHundred c = 7 d = Vienna e = 8 }
5247
// lldbr-check:(c_style_enum_in_composite::PackedStruct) packed_struct = { a = 6 b = c_style_enum_in_composite::AnEnum::OneHundred c = 7 d = Vienna e = 8 }
5348

5449
// lldb-command:v non_padded_struct
55-
// lldbg-check:[...] { a = OneMillion b = MountainView c = OneThousand d = Toronto }
5650
// lldbr-check:(c_style_enum_in_composite::NonPaddedStruct) non_padded_struct = { a = c_style_enum_in_composite::AnEnum::OneMillion, b = c_style_enum_in_composite::AnotherEnum::MountainView, c = c_style_enum_in_composite::AnEnum::OneThousand, d = c_style_enum_in_composite::AnotherEnum::Toronto }
5751

5852
// lldb-command:v struct_with_drop
59-
// lldbg-check:[...] { 0 = { a = OneHundred b = Vienna } 1 = 9 }
6053
// lldbr-check:((c_style_enum_in_composite::StructWithDrop, i64)) struct_with_drop = { 0 = { a = c_style_enum_in_composite::AnEnum::OneHundred b = c_style_enum_in_composite::AnotherEnum::Vienna } 1 = 9 }
6154

6255
#![allow(unused_variables)]

0 commit comments

Comments
 (0)