diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2023-08-30 20:08:13 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2023-09-11 14:29:09 +1000 |
| commit | 4f88aa0fbd71b67be4a4910d312015ddc2a654ff (patch) | |
| tree | d1b1b2143dd9d654aea4c2e7ffb1b7e68f6b5e67 /tests/coverage/overflow.rs | |
| parent | 525ac15b66473e63782bff4194e06f665003bd4e (diff) | |
| download | rust-4f88aa0fbd71b67be4a4910d312015ddc2a654ff.tar.gz rust-4f88aa0fbd71b67be4a4910d312015ddc2a654ff.zip | |
coverage: Use a stable sort when grouping mapped regions by file
If two or more mappings cover exactly the same region, their relative order will now be preserved from `get_expressions_and_counter_regions`, rather than being disturbed by implementation details of an unstable sort. The current order is: counter mappings, expression mappings, zero mappings. (LLVM will also perform its own stable sort on these mappings, but that sort only compares file ID, start location, and `RegionKind`.)
Diffstat (limited to 'tests/coverage/overflow.rs')
0 files changed, 0 insertions, 0 deletions
