Skip to content

Commit 3b49a46

Browse files
authored
Rollup merge of #79818 - richkadel:llvm-coverage-counters-2.1.0, r=tmandry
Fixes to Rust coverage Fixes: #79725 Some macros can create a situation where `fn_sig_span` and `body_span` map to different files. New documentation on coverage tests incorrectly assumed multiple test binaries could just be listed at the end of the `llvm-cov` command, but it turns out each binary needs a `--object` prefix. This PR fixes the bug and updates the documentation to correct that issue. It also fixes a few other minor issues in internal implementation comments, and adds documentation on getting coverage results for doc tests.
2 parents a410af9 + 95c268f commit 3b49a46

File tree

10 files changed

+157
-56
lines changed

10 files changed

+157
-56
lines changed

compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ fn save_function_record(
241241
/// (functions referenced by other "used" or public items). Any other functions considered unused,
242242
/// or "Unreachable" were still parsed and processed through the MIR stage.
243243
///
244-
/// We can find the unreachable functions by the set different of all MIR `DefId`s (`tcx` query
244+
/// We can find the unreachable functions by the set difference of all MIR `DefId`s (`tcx` query
245245
/// `mir_keys`) minus the codegenned `DefId`s (`tcx` query `collect_and_partition_mono_items`).
246246
///
247247
/// *HOWEVER* the codegenned `DefId`s are partitioned across multiple `CodegenUnit`s (CGUs), and

compiler/rustc_mir/src/transform/coverage/graph.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl CoverageGraph {
3333
// Pre-transform MIR `BasicBlock` successors and predecessors into the BasicCoverageBlock
3434
// equivalents. Note that since the BasicCoverageBlock graph has been fully simplified, the
3535
// each predecessor of a BCB leader_bb should be in a unique BCB, and each successor of a
36-
// BCB last_bb should bin in its own unique BCB. Therefore, collecting the BCBs using
36+
// BCB last_bb should be in its own unique BCB. Therefore, collecting the BCBs using
3737
// `bb_to_bcb` should work without requiring a deduplication step.
3838

3939
let successors = IndexVec::from_fn_n(
@@ -283,7 +283,9 @@ rustc_index::newtype_index! {
283283
}
284284
}
285285

286-
/// A BasicCoverageBlockData (BCB) represents the maximal-length sequence of MIR BasicBlocks without
286+
/// `BasicCoverageBlockData` holds the data indexed by a `BasicCoverageBlock`.
287+
///
288+
/// A `BasicCoverageBlock` (BCB) represents the maximal-length sequence of MIR `BasicBlock`s without
287289
/// conditional branches, and form a new, simplified, coverage-specific Control Flow Graph, without
288290
/// altering the original MIR CFG.
289291
///

compiler/rustc_mir/src/transform/coverage/mod.rs

+18-4
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ struct Instrumentor<'a, 'tcx> {
8888
pass_name: &'a str,
8989
tcx: TyCtxt<'tcx>,
9090
mir_body: &'a mut mir::Body<'tcx>,
91+
source_file: Lrc<SourceFile>,
9192
fn_sig_span: Span,
9293
body_span: Span,
9394
basic_coverage_blocks: CoverageGraph,
@@ -96,9 +97,13 @@ struct Instrumentor<'a, 'tcx> {
9697

9798
impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
9899
fn new(pass_name: &'a str, tcx: TyCtxt<'tcx>, mir_body: &'a mut mir::Body<'tcx>) -> Self {
100+
let source_map = tcx.sess.source_map();
99101
let (some_fn_sig, hir_body) = fn_sig_and_body(tcx, mir_body.source.def_id());
100102
let body_span = hir_body.value.span;
101-
let fn_sig_span = match some_fn_sig {
103+
let source_file = source_map.lookup_source_file(body_span.lo());
104+
let fn_sig_span = match some_fn_sig.filter(|fn_sig| {
105+
Lrc::ptr_eq(&source_file, &source_map.lookup_source_file(fn_sig.span.hi()))
106+
}) {
102107
Some(fn_sig) => fn_sig.span.with_hi(body_span.lo()),
103108
None => body_span.shrink_to_lo(),
104109
};
@@ -108,6 +113,7 @@ impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
108113
pass_name,
109114
tcx,
110115
mir_body,
116+
source_file,
111117
fn_sig_span,
112118
body_span,
113119
basic_coverage_blocks,
@@ -268,8 +274,7 @@ impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
268274
let tcx = self.tcx;
269275
let source_map = tcx.sess.source_map();
270276
let body_span = self.body_span;
271-
let source_file = source_map.lookup_source_file(body_span.lo());
272-
let file_name = Symbol::intern(&source_file.name.to_string());
277+
let file_name = Symbol::intern(&self.source_file.name.to_string());
273278

274279
let mut bcb_counters = IndexVec::from_elem_n(None, self.basic_coverage_blocks.num_nodes());
275280
for covspan in coverage_spans {
@@ -285,11 +290,20 @@ impl<'a, 'tcx> Instrumentor<'a, 'tcx> {
285290
bug!("Every BasicCoverageBlock should have a Counter or Expression");
286291
};
287292
graphviz_data.add_bcb_coverage_span_with_counter(bcb, &covspan, &counter_kind);
293+
294+
debug!(
295+
"Calling make_code_region(file_name={}, source_file={:?}, span={}, body_span={})",
296+
file_name,
297+
self.source_file,
298+
source_map.span_to_string(span),
299+
source_map.span_to_string(body_span)
300+
);
301+
288302
inject_statement(
289303
self.mir_body,
290304
counter_kind,
291305
self.bcb_last_bb(bcb),
292-
Some(make_code_region(file_name, &source_file, span, body_span)),
306+
Some(make_code_region(file_name, &self.source_file, span, body_span)),
293307
);
294308
}
295309
}

compiler/rustc_mir/src/transform/coverage/spans.rs

+21-21
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,27 @@ pub struct CoverageSpans<'a, 'tcx> {
217217
}
218218

219219
impl<'a, 'tcx> CoverageSpans<'a, 'tcx> {
220+
/// Generate a minimal set of `CoverageSpan`s, each representing a contiguous code region to be
221+
/// counted.
222+
///
223+
/// The basic steps are:
224+
///
225+
/// 1. Extract an initial set of spans from the `Statement`s and `Terminator`s of each
226+
/// `BasicCoverageBlockData`.
227+
/// 2. Sort the spans by span.lo() (starting position). Spans that start at the same position
228+
/// are sorted with longer spans before shorter spans; and equal spans are sorted
229+
/// (deterministically) based on "dominator" relationship (if any).
230+
/// 3. Traverse the spans in sorted order to identify spans that can be dropped (for instance,
231+
/// if another span or spans are already counting the same code region), or should be merged
232+
/// into a broader combined span (because it represents a contiguous, non-branching, and
233+
/// uninterrupted region of source code).
234+
///
235+
/// Closures are exposed in their enclosing functions as `Assign` `Rvalue`s, and since
236+
/// closures have their own MIR, their `Span` in their enclosing function should be left
237+
/// "uncovered".
238+
///
239+
/// Note the resulting vector of `CoverageSpan`s may not be fully sorted (and does not need
240+
/// to be).
220241
pub(super) fn generate_coverage_spans(
221242
mir_body: &'a mir::Body<'tcx>,
222243
fn_sig_span: Span,
@@ -247,27 +268,6 @@ impl<'a, 'tcx> CoverageSpans<'a, 'tcx> {
247268
coverage_spans.to_refined_spans()
248269
}
249270

250-
/// Generate a minimal set of `CoverageSpan`s, each representing a contiguous code region to be
251-
/// counted.
252-
///
253-
/// The basic steps are:
254-
///
255-
/// 1. Extract an initial set of spans from the `Statement`s and `Terminator`s of each
256-
/// `BasicCoverageBlockData`.
257-
/// 2. Sort the spans by span.lo() (starting position). Spans that start at the same position
258-
/// are sorted with longer spans before shorter spans; and equal spans are sorted
259-
/// (deterministically) based on "dominator" relationship (if any).
260-
/// 3. Traverse the spans in sorted order to identify spans that can be dropped (for instance,
261-
/// if another span or spans are already counting the same code region), or should be merged
262-
/// into a broader combined span (because it represents a contiguous, non-branching, and
263-
/// uninterrupted region of source code).
264-
///
265-
/// Closures are exposed in their enclosing functions as `Assign` `Rvalue`s, and since
266-
/// closures have their own MIR, their `Span` in their enclosing function should be left
267-
/// "uncovered".
268-
///
269-
/// Note the resulting vector of `CoverageSpan`s does may not be fully sorted (and does not need
270-
/// to be).
271271
fn mir_to_initial_sorted_coverage_spans(&self) -> Vec<CoverageSpan> {
272272
let mut initial_spans = Vec::<CoverageSpan>::with_capacity(self.mir_body.num_nodes() * 2);
273273
for (bcb, bcb_data) in self.basic_coverage_blocks.iter_enumerated() {

src/doc/unstable-book/src/compiler-flags/source-based-code-coverage.md

+87-4
Original file line numberDiff line numberDiff line change
@@ -213,19 +213,102 @@ Then run the `cov` tool, with the `profdata` file and all test binaries:
213213
$ cargo cov -- report \
214214
--use-color --ignore-filename-regex='/.cargo/registry' \
215215
--instr-profile=json5format.profdata \
216-
target/debug/deps/lib-30768f9c53506dc5 \
217-
target/debug/deps/json5format-fececd4653271682
216+
--object target/debug/deps/lib-30768f9c53506dc5 \
217+
--object target/debug/deps/json5format-fececd4653271682
218218
$ cargo cov -- show \
219219
--use-color --ignore-filename-regex='/.cargo/registry' \
220220
--instr-profile=json5format.profdata \
221-
target/debug/deps/lib-30768f9c53506dc5 \
222-
target/debug/deps/json5format-fececd4653271682 \
221+
--object target/debug/deps/lib-30768f9c53506dc5 \
222+
--object target/debug/deps/json5format-fececd4653271682 \
223223
--show-instantiations --show-line-counts-or-regions \
224224
--Xdemangler=rustfilt | less -R
225225
```
226226

227227
_Note the command line option `--ignore-filename-regex=/.cargo/registry`, which excludes the sources for dependencies from the coverage results._
228228

229+
### Tips for listing the binaries automatically
230+
231+
For `bash` users, one suggested way to automatically complete the `cov` command with the list of binaries is with a command like:
232+
233+
```bash
234+
$ cargo cov -- report \
235+
$( \
236+
for file in \
237+
$( \
238+
RUSTFLAGS="-Zinstrument-coverage" \
239+
cargo test --tests --no-run --message-format=json \
240+
| jq -r "select(.profile.test == true) | .filenames[]" \
241+
| grep -v dSYM - \
242+
); \
243+
do \
244+
printf "%s %s " -object $file; \
245+
done \
246+
) \
247+
--instr-profile=json5format.profdata --summary-only # and/or other options
248+
```
249+
250+
Adding `--no-run --message-format=json` to the _same_ `cargo test` command used to run
251+
the tests (including the same environment variables and flags) generates output in a JSON
252+
format that `jq` can easily query.
253+
254+
The `printf` command takes this list and generates the `--object <binary>` arguments
255+
for each listed test binary.
256+
257+
### Including doc tests
258+
259+
The previous examples run `cargo test` with `--tests`, which excludes doc tests.[^79417]
260+
261+
To include doc tests in the coverage results, drop the `--tests` flag, and apply the
262+
`-Zinstrument-coverage` flag, and some doc-test-specific options in the
263+
`RUSTDOCFLAGS` environment variable. (The `cargo profdata` command does not change.)
264+
265+
```bash
266+
$ RUSTFLAGS="-Zinstrument-coverage" \
267+
RUSTDOCFLAGS="-Zinstrument-coverage -Zunstable-options --persist-doctests target/debug/doctestbins" \
268+
LLVM_PROFILE_FILE="json5format-%m.profraw" \
269+
cargo test
270+
$ cargo profdata -- merge \
271+
-sparse json5format-*.profraw -o json5format.profdata
272+
```
273+
274+
The `-Zunstable-options --persist-doctests` flag is required, to save the test binaries
275+
(with their coverage maps) for `llvm-cov`.
276+
277+
```bash
278+
$ cargo cov -- report \
279+
$( \
280+
for file in \
281+
$( \
282+
RUSTFLAGS="-Zinstrument-coverage" \
283+
RUSTDOCFLAGS="-Zinstrument-coverage -Zunstable-options --persist-doctests target/debug/doctestbins" \
284+
cargo test --no-run --message-format=json \
285+
| jq -r "select(.profile.test == true) | .filenames[]" \
286+
| grep -v dSYM - \
287+
) \
288+
target/debug/doctestbins/*/rust_out; \
289+
do \
290+
[[ -x $file ]] && printf "%s %s " -object $file; \
291+
done \
292+
) \
293+
--instr-profile=json5format.profdata --summary-only # and/or other options
294+
```
295+
296+
Note, the differences in this `cargo cov` command, compared with the version without
297+
doc tests, include:
298+
299+
* The `cargo test ... --no-run` command is updated with the same environment variables
300+
and flags used to _build_ the tests, _including_ the doc tests. (`LLVM_PROFILE_FILE`
301+
is only used when _running_ the tests.)
302+
* The file glob pattern `target/debug/doctestbins/*/rust_out` adds the `rust_out`
303+
binaries generated for doc tests (note, however, that some `rust_out` files may not
304+
be executable binaries).
305+
* `[[ -x $file ]] &&` filters the files passed on to the `printf`, to include only
306+
executable binaries.
307+
308+
[^79417]: There is ongoing work to resolve a known issue
309+
[(#79417)](https://github.com/rust-lang/rust/issues/79417) that doc test coverage
310+
generates incorrect source line numbers in `llvm-cov show` results.
311+
229312
## Other references
230313

231314
Rust's implementation and workflow for source-based code coverage is based on the same library and tools used to implement [source-based code coverage in Clang]. (This document is partially based on the Clang guide.)

src/test/run-make-fulldeps/coverage-reports/Makefile

+12-10
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,19 @@ else
147147
# Note `llvm-cov show` output for some programs can vary, but can be ignored
148148
# by inserting `// ignore-llvm-cov-show-diffs` at the top of the source file.
149149
#
150-
# FIXME(richkadel): It looks like most past variations seem to have been mitigated. None of the
151-
# Rust test source samples have the `// ignore-llvm-cov-show-diffs` anymore. The main variation
152-
# I had seen (and is still present in the new `coverage/lib/used_crate.rs`) is the `llvm-cov show`
153-
# reporting of multiple instantiations of a generic function with different type substitutions.
154-
# For some reason, `llvm-cov show` can report these in a non-deterministic order, breaking the
155-
# `diff` comparision. I was able to work around the problem with `diff --ignore-matching-lines=RE`
150+
# FIXME(richkadel): None of the Rust test source samples have the
151+
# `// ignore-llvm-cov-show-diffs` anymore. This directive exists to work around a limitation
152+
# with `llvm-cov show`. When reporting coverage for multiple instantiations of a generic function,
153+
# with different type substitutions, `llvm-cov show` prints these in a non-deterministic order,
154+
# breaking the `diff` comparision.
155+
#
156+
# A partial workaround is implemented below, with `diff --ignore-matching-lines=RE`
156157
# to ignore each line prefixing each generic instantiation coverage code region.
158+
#
159+
# This workaround only works if the coverage counts are identical across all reported
160+
# instantiations. If there is no way to ensure this, you may need to apply the
161+
# `// ignore-llvm-cov-show-diffs` directive, and rely on the `.json` and counter
162+
# files for validating results have not changed.
157163

158164
$(DIFF) --ignore-matching-lines='::<.*>.*:$$' \
159165
@@ -190,10 +196,6 @@ endif
190196
$(call BIN,"$(TMPDIR)"/$@) \
191197
| "$(PYTHON)" $(BASEDIR)/prettify_json.py \
192198
> "$(TMPDIR)"/[email protected]
193-
# FIXME(richkadel): With the addition of `--ignore-matching-lines=RE` to ignore the
194-
# non-deterministically-ordered coverage results for multiple instantiations of generics with
195-
# differing type substitutions, I probably don't need the `.json` files anymore (and may not
196-
# need `prettify_json.py` either).
197199

198200
ifdef RUSTC_BLESS_TEST
199201

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage.uses_crate.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
18| 2| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
2020
19| 2|}
2121
------------------
22-
| used_crate::used_only_from_bin_crate_generic_function::<&alloc::vec::Vec<i32>>:
22+
| used_crate::used_only_from_bin_crate_generic_function::<&str>:
2323
| 17| 1|pub fn used_only_from_bin_crate_generic_function<T: Debug>(arg: T) {
2424
| 18| 1| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
2525
| 19| 1|}
2626
------------------
27-
| used_crate::used_only_from_bin_crate_generic_function::<&str>:
27+
| used_crate::used_only_from_bin_crate_generic_function::<&alloc::vec::Vec<i32>>:
2828
| 17| 1|pub fn used_only_from_bin_crate_generic_function<T: Debug>(arg: T) {
2929
| 18| 1| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
3030
| 19| 1|}

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage_counters.async.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ Counter in file 0 11:1 -> 11:2, (#2 + (#1 - #2))
3535
Counter in file 0 21:1 -> 21:23, #1
3636
Counter in file 0 67:5 -> 67:23, #1
3737
Counter in file 0 38:1 -> 38:19, #1
38-
Counter in file 0 29:1 -> 29:22, #1
39-
Counter in file 0 93:1 -> 101:2, #1
40-
Counter in file 0 91:1 -> 91:25, #1
4138
Counter in file 0 38:19 -> 42:12, #1
4239
Counter in file 0 43:9 -> 43:10, #3
4340
Counter in file 0 43:14 -> 43:18, (#1 + 0)
@@ -49,11 +46,14 @@ Counter in file 0 44:27 -> 44:32, #8
4946
Counter in file 0 44:36 -> 44:38, (#6 + 0)
5047
Counter in file 0 45:14 -> 45:16, #7
5148
Counter in file 0 47:1 -> 47:2, (#5 + (#6 + #7))
49+
Counter in file 0 29:1 -> 29:22, #1
50+
Counter in file 0 93:1 -> 101:2, #1
51+
Counter in file 0 91:1 -> 91:25, #1
5252
Counter in file 0 51:5 -> 52:18, #1
5353
Counter in file 0 53:13 -> 53:14, #2
5454
Counter in file 0 63:13 -> 63:14, (#1 - #2)
5555
Counter in file 0 65:5 -> 65:6, (#2 + (#1 - #2))
56-
Counter in file 0 13:20 -> 13:21, #1
56+
Counter in file 0 17:20 -> 17:21, #1
5757
Counter in file 0 49:1 -> 68:12, #1
5858
Counter in file 0 69:9 -> 69:10, #2
5959
Counter in file 0 69:14 -> 69:27, (#1 + 0)
@@ -69,8 +69,8 @@ Counter in file 0 86:14 -> 86:16, #2
6969
Counter in file 0 87:14 -> 87:16, #3
7070
Counter in file 0 89:1 -> 89:2, (#3 + (#2 + (#1 - (#3 + #2))))
7171
Counter in file 0 17:1 -> 17:20, #1
72-
Counter in file 0 17:20 -> 17:21, #1
7372
Counter in file 0 66:5 -> 66:23, #1
73+
Counter in file 0 13:20 -> 13:21, #1
7474
Counter in file 0 17:9 -> 17:10, #1
7575
Counter in file 0 17:9 -> 17:10, #1
7676
Counter in file 0 117:17 -> 117:19, #1

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage_counters.generics.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Combined regions:
3232
10:5 -> 12:6 (count=1)
3333
Segment at 10:5 (count = 1), RegionEntry
3434
Segment at 12:6 (count = 0), Skipped
35-
Emitting segments for function: _RNvXs_Cs4fqI2P2rA04_8genericsINtB4_8FireworklENtNtNtCs6HRHKMTmAen_4core3ops4drop4Drop4dropB4_
35+
Emitting segments for function: _RNvXs_Cs4fqI2P2rA04_8genericsINtB4_8FireworklENtNtNtCs3rFBWs28XFJ_4core3ops4drop4Drop4dropB4_
3636
Combined regions:
3737
17:5 -> 19:6 (count=1)
3838
Segment at 17:5 (count = 1), RegionEntry
3939
Segment at 19:6 (count = 0), Skipped
40-
Emitting segments for function: _RNvXs_Cs4fqI2P2rA04_8genericsINtB4_8FireworkdENtNtNtCs6HRHKMTmAen_4core3ops4drop4Drop4dropB4_
40+
Emitting segments for function: _RNvXs_Cs4fqI2P2rA04_8genericsINtB4_8FireworkdENtNtNtCs3rFBWs28XFJ_4core3ops4drop4Drop4dropB4_
4141
Combined regions:
4242
17:5 -> 19:6 (count=1)
4343
Segment at 17:5 (count = 1), RegionEntry

src/test/run-make-fulldeps/coverage-reports/expected_show_coverage_counters.uses_crate.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Counter in file 0 25:1 -> 27:2, #1
21
Counter in file 0 17:1 -> 19:2, #1
2+
Counter in file 0 25:1 -> 27:2, #1
33
Counter in file 0 17:1 -> 19:2, #1
44
Counter in file 0 5:1 -> 12:2, #1
55
Counter in file 0 17:1 -> 19:2, 0
@@ -78,17 +78,17 @@ Segment at 51:1 (count = 0), RegionEntry
7878
Segment at 51:2 (count = 0), Skipped
7979
Segment at 53:1 (count = 1), RegionEntry
8080
Segment at 61:2 (count = 0), Skipped
81-
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate41used_only_from_bin_crate_generic_functionRINtNtCsFAjihUSTht_5alloc3vec3VeclEECs4fqI2P2rA04_10uses_crate
81+
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate41used_only_from_bin_crate_generic_functionReECs4fqI2P2rA04_10uses_crate
8282
Combined regions:
8383
17:1 -> 19:2 (count=1)
8484
Segment at 17:1 (count = 1), RegionEntry
8585
Segment at 19:2 (count = 0), Skipped
86-
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate41used_only_from_bin_crate_generic_functionReECs4fqI2P2rA04_10uses_crate
86+
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate41used_only_from_bin_crate_generic_functionRINtNtCs3QflaznQylx_5alloc3vec3VeclEECs4fqI2P2rA04_10uses_crate
8787
Combined regions:
8888
17:1 -> 19:2 (count=1)
8989
Segment at 17:1 (count = 1), RegionEntry
9090
Segment at 19:2 (count = 0), Skipped
91-
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate46used_only_from_this_lib_crate_generic_functionINtNtCsFAjihUSTht_5alloc3vec3VeclEEB2_
91+
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate46used_only_from_this_lib_crate_generic_functionINtNtCs3QflaznQylx_5alloc3vec3VeclEEB2_
9292
Combined regions:
9393
21:1 -> 23:2 (count=1)
9494
Segment at 21:1 (count = 1), RegionEntry
@@ -98,7 +98,7 @@ Combined regions:
9898
21:1 -> 23:2 (count=1)
9999
Segment at 21:1 (count = 1), RegionEntry
100100
Segment at 23:2 (count = 0), Skipped
101-
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate50used_from_bin_crate_and_lib_crate_generic_functionINtNtCsFAjihUSTht_5alloc3vec3VeclEECs4fqI2P2rA04_10uses_crate
101+
Emitting segments for function: _RINvCsbDqzXfLQacH_10used_crate50used_from_bin_crate_and_lib_crate_generic_functionINtNtCs3QflaznQylx_5alloc3vec3VeclEECs4fqI2P2rA04_10uses_crate
102102
Combined regions:
103103
25:1 -> 27:2 (count=1)
104104
Segment at 25:1 (count = 1), RegionEntry

0 commit comments

Comments
 (0)