File tree Expand file tree Collapse file tree 4 files changed +308
-0
lines changed Expand file tree Collapse file tree 4 files changed +308
-0
lines changed Original file line number Diff line number Diff line change 1+ LL| |// compile-flags: --edition=2021
2+ LL| |// ignore-tidy-linelength
3+ LL| |
4+ LL| |// This file deliberately contains line and column numbers larger than 127,
5+ LL| |// to verify that `coverage-dump`'s ULEB128 parser can handle them.
6+ LL| |
7+ LL| 1|fn main() {
8+ LL| 1| wide_function();
9+ LL| 1| long_function();
10+ LL| 1| far_function();
11+ LL| 1|}
12+ LL| |
13+ LL| |#[rustfmt::skip]
14+ LL| 1|fn wide_function() { /* */ (); }
15+ LL| |
16+ LL| 1|fn long_function() {
17+ LL| 1| //
18+ LL| 1| //
19+ LL| 1| //
20+ LL| 1| //
21+ LL| 1| //
22+ LL| 1| //
23+ LL| 1| //
24+ LL| 1| //
25+ LL| 1| //
26+ LL| 1| //
27+ LL| 1| //
28+ LL| 1| //
29+ LL| 1| //
30+ LL| 1| //
31+ LL| 1| //
32+ LL| 1| //
33+ LL| 1| //
34+ LL| 1| //
35+ LL| 1| //
36+ LL| 1| //
37+ LL| 1| //
38+ LL| 1| //
39+ LL| 1| //
40+ LL| 1| //
41+ LL| 1| //
42+ LL| 1| //
43+ LL| 1| //
44+ LL| 1| //
45+ LL| 1| //
46+ LL| 1| //
47+ LL| 1| //
48+ LL| 1| //
49+ LL| 1| //
50+ LL| 1| //
51+ LL| 1| //
52+ LL| 1| //
53+ LL| 1| //
54+ LL| 1| //
55+ LL| 1| //
56+ LL| 1| //
57+ LL| 1| //
58+ LL| 1| //
59+ LL| 1| //
60+ LL| 1| //
61+ LL| 1| //
62+ LL| 1| //
63+ LL| 1| //
64+ LL| 1| //
65+ LL| 1| //
66+ LL| 1| //
67+ LL| 1| //
68+ LL| 1| //
69+ LL| 1| //
70+ LL| 1| //
71+ LL| 1| //
72+ LL| 1| //
73+ LL| 1| //
74+ LL| 1| //
75+ LL| 1| //
76+ LL| 1| //
77+ LL| 1| //
78+ LL| 1| //
79+ LL| 1| //
80+ LL| 1| //
81+ LL| 1| //
82+ LL| 1| //
83+ LL| 1| //
84+ LL| 1| //
85+ LL| 1| //
86+ LL| 1| //
87+ LL| 1| //
88+ LL| 1| //
89+ LL| 1| //
90+ LL| 1| //
91+ LL| 1| //
92+ LL| 1| //
93+ LL| 1| //
94+ LL| 1| //
95+ LL| 1| //
96+ LL| 1| //
97+ LL| 1| //
98+ LL| 1| //
99+ LL| 1| //
100+ LL| 1| //
101+ LL| 1| //
102+ LL| 1| //
103+ LL| 1| //
104+ LL| 1| //
105+ LL| 1| //
106+ LL| 1| //
107+ LL| 1| //
108+ LL| 1| //
109+ LL| 1| //
110+ LL| 1| //
111+ LL| 1| //
112+ LL| 1| //
113+ LL| 1| //
114+ LL| 1| //
115+ LL| 1| //
116+ LL| 1| //
117+ LL| 1| //
118+ LL| 1| //
119+ LL| 1| //
120+ LL| 1| //
121+ LL| 1| //
122+ LL| 1| //
123+ LL| 1| //
124+ LL| 1| //
125+ LL| 1| //
126+ LL| 1| //
127+ LL| 1| //
128+ LL| 1| //
129+ LL| 1| //
130+ LL| 1| //
131+ LL| 1| //
132+ LL| 1| //
133+ LL| 1| //
134+ LL| 1| //
135+ LL| 1| //
136+ LL| 1| //
137+ LL| 1| //
138+ LL| 1| //
139+ LL| 1| //
140+ LL| 1| //
141+ LL| 1| //
142+ LL| 1| //
143+ LL| 1| //
144+ LL| 1| //
145+ LL| 1| //
146+ LL| 1| //
147+ LL| 1| //
148+ LL| 1|}
149+ LL| |
150+ LL| 1|fn far_function() {}
151+
Original file line number Diff line number Diff line change 1+ // compile-flags: --edition=2021
2+ // ignore-tidy-linelength
3+
4+ // This file deliberately contains line and column numbers larger than 127,
5+ // to verify that `coverage-dump`'s ULEB128 parser can handle them.
6+
7+ fn main ( ) {
8+ wide_function ( ) ;
9+ long_function ( ) ;
10+ far_function ( ) ;
11+ }
12+
13+ #[ rustfmt:: skip]
14+ fn wide_function ( ) { /* */ ( ) ; }
15+
16+ fn long_function ( ) {
17+ //
18+ //
19+ //
20+ //
21+ //
22+ //
23+ //
24+ //
25+ //
26+ //
27+ //
28+ //
29+ //
30+ //
31+ //
32+ //
33+ //
34+ //
35+ //
36+ //
37+ //
38+ //
39+ //
40+ //
41+ //
42+ //
43+ //
44+ //
45+ //
46+ //
47+ //
48+ //
49+ //
50+ //
51+ //
52+ //
53+ //
54+ //
55+ //
56+ //
57+ //
58+ //
59+ //
60+ //
61+ //
62+ //
63+ //
64+ //
65+ //
66+ //
67+ //
68+ //
69+ //
70+ //
71+ //
72+ //
73+ //
74+ //
75+ //
76+ //
77+ //
78+ //
79+ //
80+ //
81+ //
82+ //
83+ //
84+ //
85+ //
86+ //
87+ //
88+ //
89+ //
90+ //
91+ //
92+ //
93+ //
94+ //
95+ //
96+ //
97+ //
98+ //
99+ //
100+ //
101+ //
102+ //
103+ //
104+ //
105+ //
106+ //
107+ //
108+ //
109+ //
110+ //
111+ //
112+ //
113+ //
114+ //
115+ //
116+ //
117+ //
118+ //
119+ //
120+ //
121+ //
122+ //
123+ //
124+ //
125+ //
126+ //
127+ //
128+ //
129+ //
130+ //
131+ //
132+ //
133+ //
134+ //
135+ //
136+ //
137+ //
138+ //
139+ //
140+ //
141+ //
142+ //
143+ //
144+ //
145+ //
146+ //
147+ //
148+ }
149+
150+ fn far_function ( ) { }
Original file line number Diff line number Diff line change 1+ LL| |// compile-flags: --edition=2021
2+ LL| |
3+ LL| 1|fn main() {}
4+
Original file line number Diff line number Diff line change 1+ // compile-flags: --edition=2021
2+
3+ fn main ( ) { }
You can’t perform that action at this time.
0 commit comments