diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-05-12 07:11:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-12 07:11:12 +0200 |
| commit | ea332b593780509a114ffe03c4a772f5eb54c5c7 (patch) | |
| tree | 267b1de702eaa8c588cbf5c83980099735e0ec12 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | 26e0c57dde7ea664457e3bf1340f832c722bd349 (diff) | |
| parent | 27a3ce29e368f7f0167761f761bf5826c83cf12c (diff) | |
| download | rust-ea332b593780509a114ffe03c4a772f5eb54c5c7.tar.gz rust-ea332b593780509a114ffe03c4a772f5eb54c5c7.zip | |
Rollup merge of #111179 - Zalathar:sort-groups, r=Mark-Simulacrum
Fix instrument-coverage tests by using Python to sort instantiation groups #110942 was intended to fix a set of `-Cinstrument-coverage` tests, but it ended up silently *breaking* those tests on Linux, for annoying reasons detailed at #111171. Dealing with `diff --ignore-matching-lines` across multiple platforms has been such a hassle that I've instead written a simple Python script that can detect instantiation groups in the output of `llvm-cov show`, and sort them in a predictable order so that they can be used as snapshots for an ordinary invocation of `diff`. This approach should be much less error-prone, because it can't accidentally ignore the wrong lines, and any unforeseen problems will tend to result in a Python exception or a failing diff.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
