rust/compiler/rustc_codegen_ssa/src
Matthias Krüger d93df5775c
Rollup merge of #91207 - richkadel:rk-bump-coverage-version, r=tmandry
Add support for LLVM coverage mapping format versions 5 and 6

This PR cherry-pick's Swatinem's initial commit in unsubmitted PR #90047.

My additional commit augments Swatinem's great starting point, but adds full support for LLVM
Coverage Mapping Format version 6, conditionally, if compiling with LLVM 13.

Version 6 requires adding the compilation directory when file paths are
relative, and since Rustc coverage maps use relative paths, we should
add the expected compilation directory entry.

Note, however, that with the compilation directory, coverage reports
from `llvm-cov show` can now report file names (when the report includes
more than one file) with the full absolute path to the file.

This would be a problem for test results, but the workaround (for the
rust coverage tests) is to include an additional `llvm-cov show`
parameter: `--compilation-dir=.`
2021-12-01 10:50:20 +01:00
..
back Rollup merge of #90058 - joshtriplett:stabilize-strip, r=wesleywiser 2021-11-16 09:14:16 +09:00
coverageinfo Update CoverageMappingFormat Support to Version6 2021-11-23 15:49:03 -08:00
debuginfo use matches!() macro in more places 2021-11-06 16:13:14 +01:00
mir Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
traits Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
base.rs Move EncodedMetadata to rustc_metadata. 2021-09-30 19:41:32 +02:00
common.rs Remove support for floating-point constants in asm! 2021-05-14 14:58:21 +01:00
glue.rs Refactor to make interpreter and codegen backend neutral to vtable internal representation. 2021-06-15 01:59:00 +08:00
lib.rs Revert "Add rustc lint, warning when iterating over hashmaps" 2021-10-28 11:01:42 -04:00
meth.rs Auto merge of #89597 - michaelwoerister:improve-vtable-debuginfo, r=wesleywiser 2021-10-11 04:31:47 +00:00
mono_item.rs rustc_target: move LayoutOf to ty::layout. 2021-09-02 01:17:14 +03:00
target_features.rs enable dotprod target feature in arm 2021-11-08 16:24:50 +08:00