Skip to content

Commit 41d06f4

Browse files
committed
Delete lldbr annotations
1 parent c5fdc90 commit 41d06f4

File tree

73 files changed

+0
-677
lines changed

Some content is hidden

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

73 files changed

+0
-677
lines changed

tests/debuginfo/associated-types.rs

-9
Original file line numberDiff line numberDiff line change
@@ -38,41 +38,32 @@
3838

3939
// lldb-command:v arg
4040
// lldbg-check:[...] { b = -1, b1 = 0 }
41-
// lldbr-check:(associated_types::Struct<i32>) arg = { b = -1, b1 = 0 }
4241
// lldb-command:continue
4342

4443
// lldb-command:v inferred
4544
// lldbg-check:[...] 1
46-
// lldbr-check:(i64) inferred = 1
4745
// lldb-command:v explicitly
4846
// lldbg-check:[...] 1
49-
// lldbr-check:(i64) explicitly = 1
5047
// lldb-command:continue
5148

5249
// lldb-command:v arg
5350
// lldbg-check:[...] 2
54-
// lldbr-check:(i64) arg = 2
5551
// lldb-command:continue
5652

5753
// lldb-command:v arg
5854
// lldbg-check:[...] (4, 5)
59-
// lldbr-check:((i32, i64)) arg = { = 4 = 5 }
6055
// lldb-command:continue
6156

6257
// lldb-command:v a
6358
// lldbg-check:[...] 6
64-
// lldbr-check:(i32) a = 6
6559
// lldb-command:v b
6660
// lldbg-check:[...] 7
67-
// lldbr-check:(i64) b = 7
6861
// lldb-command:continue
6962

7063
// lldb-command:v a
7164
// lldbg-check:[...] 8
72-
// lldbr-check:(i64) a = 8
7365
// lldb-command:v b
7466
// lldbg-check:[...] 9
75-
// lldbr-check:(i32) b = 9
7667
// lldb-command:continue
7768

7869
#![allow(unused_variables)]

tests/debuginfo/basic-types.rs

-17
Original file line numberDiff line numberDiff line change
@@ -47,48 +47,31 @@
4747
// lldb-command:run
4848
// lldb-command:v b
4949
// lldbg-check:[...] false
50-
// lldbr-check:(bool) b = false
5150
// lldb-command:v i
5251
// lldbg-check:[...] -1
53-
// lldbr-check:(isize) i = -1
54-
55-
// NOTE: only rust-enabled lldb supports 32bit chars
56-
// lldbr-command:print c
57-
// lldbr-check:(char) c = 'a'
5852

5953
// lldb-command:v i8
6054
// lldbg-check:[...] 'D'
61-
// lldbr-check:(i8) i8 = 68
6255
// lldb-command:v i16
6356
// lldbg-check:[...] -16
64-
// lldbr-check:(i16) i16 = -16
6557
// lldb-command:v i32
6658
// lldbg-check:[...] -32
67-
// lldbr-check:(i32) i32 = -32
6859
// lldb-command:v i64
6960
// lldbg-check:[...] -64
70-
// lldbr-check:(i64) i64 = -64
7161
// lldb-command:v u
7262
// lldbg-check:[...] 1
73-
// lldbr-check:(usize) u = 1
7463
// lldb-command:v u8
7564
// lldbg-check:[...] 'd'
76-
// lldbr-check:(u8) u8 = 100
7765
// lldb-command:v u16
7866
// lldbg-check:[...] 16
79-
// lldbr-check:(u16) u16 = 16
8067
// lldb-command:v u32
8168
// lldbg-check:[...] 32
82-
// lldbr-check:(u32) u32 = 32
8369
// lldb-command:v u64
8470
// lldbg-check:[...] 64
85-
// lldbr-check:(u64) u64 = 64
8671
// lldb-command:v f32
8772
// lldbg-check:[...] 2.5
88-
// lldbr-check:(f32) f32 = 2.5
8973
// lldb-command:v f64
9074
// lldbg-check:[...] 3.5
91-
// lldbr-check:(f64) f64 = 3.5
9275

9376
// === CDB TESTS ===================================================================================
9477

tests/debuginfo/borrowed-basic.rs

-16
Original file line numberDiff line numberDiff line change
@@ -54,62 +54,46 @@
5454
// lldb-command:run
5555
// lldb-command:v *bool_ref
5656
// lldbg-check:[...] true
57-
// lldbr-check:(bool) *bool_ref = true
5857

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

63-
// lldbr-command:print *char_ref
64-
// lldbr-check:(char) *char_ref = 'a'
6561

6662
// lldb-command:v *i8_ref
6763
// lldbg-check:[...] 'D'
68-
// lldbr-check:(i8) *i8_ref = 68
6964

7065
// lldb-command:v *i16_ref
7166
// lldbg-check:[...] -16
72-
// lldbr-check:(i16) *i16_ref = -16
7367

7468
// lldb-command:v *i32_ref
7569
// lldbg-check:[...] -32
76-
// lldbr-check:(i32) *i32_ref = -32
7770

7871
// lldb-command:v *i64_ref
7972
// lldbg-check:[...] -64
80-
// lldbr-check:(i64) *i64_ref = -64
8173

8274
// lldb-command:v *uint_ref
8375
// lldbg-check:[...] 1
84-
// lldbr-check:(usize) *uint_ref = 1
8576

8677
// lldb-command:v *u8_ref
8778
// lldbg-check:[...] 'd'
88-
// lldbr-check:(u8) *u8_ref = 100
8979

9080
// lldb-command:v *u16_ref
9181
// lldbg-check:[...] 16
92-
// lldbr-check:(u16) *u16_ref = 16
9382

9483
// lldb-command:v *u32_ref
9584
// lldbg-check:[...] 32
96-
// lldbr-check:(u32) *u32_ref = 32
9785

9886
// lldb-command:v *u64_ref
9987
// lldbg-check:[...] 64
100-
// lldbr-check:(u64) *u64_ref = 64
10188

10289
// lldb-command:v *f16_ref
10390
// lldbg-check:[...] 1.5
104-
// lldbr-check:(f16) *f16_ref = 1.5
10591

10692
// lldb-command:v *f32_ref
10793
// lldbg-check:[...] 2.5
108-
// lldbr-check:(f32) *f32_ref = 2.5
10994

11095
// lldb-command:v *f64_ref
11196
// lldbg-check:[...] 3.5
112-
// lldbr-check:(f64) *f64_ref = 3.5
11397

11498
#![allow(unused_variables)]
11599
#![feature(omit_gdb_pretty_printer_section)]

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

-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@
2020

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

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

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

3330
#![allow(unused_variables)]
3431
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/borrowed-enum.rs

-3
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@
2222

2323
// lldb-command:v *the_a_ref
2424
// lldbg-check:(borrowed_enum::ABC) *the_a_ref = { value = { x = 0 y = 8970181431921507452 } $discr$ = 0 }
25-
// lldbr-check:(borrowed_enum::ABC::TheA) *the_a_ref = TheA { TheA: 0, TheB: 8970181431921507452 }
2625
// lldb-command:v *the_b_ref
2726
// lldbg-check:(borrowed_enum::ABC) *the_b_ref = { value = { 0 = 0 1 = 286331153 2 = 286331153 } $discr$ = 1 }
28-
// lldbr-check:(borrowed_enum::ABC::TheB) *the_b_ref = { = 0 = 286331153 = 286331153 }
2927
// lldb-command:v *univariant_ref
3028
// lldbg-check:(borrowed_enum::Univariant) *univariant_ref = { value = { 0 = 4820353753753434 } }
31-
// lldbr-check:(borrowed_enum::Univariant) *univariant_ref = { TheOnlyCase = { = 4820353753753434 } }
3229

3330
#![allow(unused_variables)]
3431
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/borrowed-struct.rs

-7
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,24 @@
3232

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

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

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

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

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

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

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

6154
#![allow(unused_variables)]
6255
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/borrowed-tuple.rs

-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@
2020

2121
// lldb-command:v *stack_val_ref
2222
// lldbg-check:[...] { 0 = -14 1 = -19 }
23-
// lldbr-check:((i16, f32)) *stack_val_ref = { 0 = -14 1 = -19 }
2423

2524
// lldb-command:v *ref_to_unnamed
2625
// lldbg-check:[...] { 0 = -15 1 = -20 }
27-
// lldbr-check:((i16, f32)) *ref_to_unnamed = { 0 = -15 1 = -20 }
2826

2927
// lldb-command:v *unique_val_ref
3028
// lldbg-check:[...] { 0 = -17 1 = -22 }
31-
// lldbr-check:((i16, f32)) *unique_val_ref = { 0 = -17 1 = -22 }
3229

3330

3431
#![allow(unused_variables)]

tests/debuginfo/borrowed-unique-basic.rs

-16
Original file line numberDiff line numberDiff line change
@@ -58,62 +58,46 @@
5858

5959
// lldb-command:v *bool_ref
6060
// lldbg-check:[...] true
61-
// lldbr-check:(bool) *bool_ref = true
6261

6362
// lldb-command:v *int_ref
6463
// lldbg-check:[...] -1
65-
// lldbr-check:(isize) *int_ref = -1
6664

67-
// lldbr-command:print *char_ref
68-
// lldbr-check:(char) *char_ref = 97
6965

7066
// lldb-command:v *i8_ref
7167
// lldbg-check:[...] 68
72-
// lldbr-check:(i8) *i8_ref = 68
7368

7469
// lldb-command:v *i16_ref
7570
// lldbg-check:[...] -16
76-
// lldbr-check:(i16) *i16_ref = -16
7771

7872
// lldb-command:v *i32_ref
7973
// lldbg-check:[...] -32
80-
// lldbr-check:(i32) *i32_ref = -32
8174

8275
// lldb-command:v *i64_ref
8376
// lldbg-check:[...] -64
84-
// lldbr-check:(i64) *i64_ref = -64
8577

8678
// lldb-command:v *uint_ref
8779
// lldbg-check:[...] 1
88-
// lldbr-check:(usize) *uint_ref = 1
8980

9081
// lldb-command:v *u8_ref
9182
// lldbg-check:[...] 100
92-
// lldbr-check:(u8) *u8_ref = 100
9383

9484
// lldb-command:v *u16_ref
9585
// lldbg-check:[...] 16
96-
// lldbr-check:(u16) *u16_ref = 16
9786

9887
// lldb-command:v *u32_ref
9988
// lldbg-check:[...] 32
100-
// lldbr-check:(u32) *u32_ref = 32
10189

10290
// lldb-command:v *u64_ref
10391
// lldbg-check:[...] 64
104-
// lldbr-check:(u64) *u64_ref = 64
10592

10693
// lldb-command:v *f16_ref
10794
// lldbg-check:[...] 1.5
108-
// lldbr-check:(f16) *f16_ref = 1.5
10995

11096
// lldb-command:v *f32_ref
11197
// lldbg-check:[...] 2.5
112-
// lldbr-check:(f32) *f32_ref = 2.5
11398

11499
// lldb-command:v *f64_ref
115100
// lldbg-check:[...] 3.5
116-
// lldbr-check:(f64) *f64_ref = 3.5
117101

118102
#![allow(unused_variables)]
119103
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/box.rs

-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
// lldb-command:run
1616
// lldb-command:v *a
1717
// lldbg-check:[...] 1
18-
// lldbr-check:(i32) *a = 1
1918
// lldb-command:v *b
2019
// lldbg-check:[...] { 0 = 2 1 = 3.5 }
21-
// lldbr-check:((i32, f64)) *b = { 0 = 2 1 = 3.5 }
2220

2321
#![allow(unused_variables)]
2422
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/boxed-struct.rs

-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,9 @@
1717

1818
// lldb-command:v *boxed_with_padding
1919
// lldbg-check:[...] { x = 99 y = 999 z = 9999 w = 99999 }
20-
// lldbr-check:(boxed_struct::StructWithSomePadding) *boxed_with_padding = { x = 99 y = 999 z = 9999 w = 99999 }
2120

2221
// lldb-command:v *boxed_with_dtor
2322
// lldbg-check:[...] { x = 77 y = 777 z = 7777 w = 77777 }
24-
// lldbr-check:(boxed_struct::StructWithDestructor) *boxed_with_dtor = { x = 77 y = 777 z = 7777 w = 77777 }
2523

2624
#![allow(unused_variables)]
2725
#![feature(omit_gdb_pretty_printer_section)]

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

-3
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@
2323

2424
// lldb-command:v self
2525
// lldbg-check:[...] 1111
26-
// lldbr-check:(isize) self = 1111
2726
// lldb-command:continue
2827

2928
// lldb-command:v self
3029
// lldbg-check:[...] { x = 2222 y = 3333 }
31-
// lldbr-check:(by_value_self_argument_in_trait_impl::Struct) self = { x = 2222 y = 3333 }
3230
// lldb-command:continue
3331

3432
// lldb-command:v self
3533
// lldbg-check:[...] { 0 = 4444.5 1 = 5555 2 = 6666 3 = 7777.5 }
36-
// lldbr-check:((f64, isize, isize, f64)) self = { 0 = 4444.5 1 = 5555 2 = 6666 3 = 7777.5 }
3734
// lldb-command:continue
3835

3936
#![feature(omit_gdb_pretty_printer_section)]

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

-7
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,24 @@
3131

3232
// lldb-command:v tuple_interior_padding
3333
// lldbg-check:[...] { 0 = 0 1 = OneHundred }
34-
// lldbr-check:((i16, c_style_enum_in_composite::AnEnum)) tuple_interior_padding = { 0 = 0 1 = OneHundred }
3534

3635
// lldb-command:v tuple_padding_at_end
3736
// lldbg-check:[...] { 0 = { 0 = 1 1 = OneThousand } 1 = 2 }
38-
// lldbr-check:(((u64, c_style_enum_in_composite::AnEnum), u64)) tuple_padding_at_end = { 0 = { 0 = 1 1 = OneThousand } 1 = 2 }
3937

4038
// lldb-command:v tuple_different_enums
4139
// lldbg-check:[...] { 0 = OneThousand 1 = MountainView 2 = OneMillion 3 = Vienna }
42-
// 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 }
4340

4441
// lldb-command:v padded_struct
4542
// lldbg-check:[...] { a = 3 b = OneMillion c = 4 d = Toronto e = 5 }
46-
// 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 }
4743

4844
// lldb-command:v packed_struct
4945
// lldbg-check:[...] { a = 6 b = OneHundred c = 7 d = Vienna e = 8 }
50-
// 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 }
5146

5247
// lldb-command:v non_padded_struct
5348
// lldbg-check:[...] { a = OneMillion b = MountainView c = OneThousand d = Toronto }
54-
// 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 }
5549

5650
// lldb-command:v struct_with_drop
5751
// lldbg-check:[...] { 0 = { a = OneHundred b = Vienna } 1 = 9 }
58-
// 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 }
5952

6053
#![allow(unused_variables)]
6154
#![feature(omit_gdb_pretty_printer_section)]

tests/debuginfo/c-style-enum.rs

-7
Original file line numberDiff line numberDiff line change
@@ -67,31 +67,24 @@
6767

6868
// lldb-command:v auto_one
6969
// lldbg-check:[...] One
70-
// lldbr-check:(c_style_enum::AutoDiscriminant) auto_one = c_style_enum::AutoDiscriminant::One
7170

7271
// lldb-command:v auto_two
7372
// lldbg-check:[...] Two
74-
// lldbr-check:(c_style_enum::AutoDiscriminant) auto_two = c_style_enum::AutoDiscriminant::Two
7573

7674
// lldb-command:v auto_three
7775
// lldbg-check:[...] Three
78-
// lldbr-check:(c_style_enum::AutoDiscriminant) auto_three = c_style_enum::AutoDiscriminant::Three
7976

8077
// lldb-command:v manual_one_hundred
8178
// lldbg-check:[...] OneHundred
82-
// lldbr-check:(c_style_enum::ManualDiscriminant) manual_one_hundred = c_style_enum::ManualDiscriminant::OneHundred
8379

8480
// lldb-command:v manual_one_thousand
8581
// lldbg-check:[...] OneThousand
86-
// lldbr-check:(c_style_enum::ManualDiscriminant) manual_one_thousand = c_style_enum::ManualDiscriminant::OneThousand
8782

8883
// lldb-command:v manual_one_million
8984
// lldbg-check:[...] OneMillion
90-
// lldbr-check:(c_style_enum::ManualDiscriminant) manual_one_million = c_style_enum::ManualDiscriminant::OneMillion
9185

9286
// lldb-command:v single_variant
9387
// lldbg-check:[...] TheOnlyVariant
94-
// lldbr-check:(c_style_enum::SingleVariant) single_variant = c_style_enum::SingleVariant::TheOnlyVariant
9588

9689
#![allow(unused_variables)]
9790
#![allow(dead_code)]

0 commit comments

Comments
 (0)