rust/compiler/rustc_codegen_llvm/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 Emit LLVM optimization remarks when enabled with -Cremark 2021-11-16 08:19:20 +01:00
coverageinfo Add conditional support for coverage map version 6 2021-11-30 13:54:53 -08:00
debuginfo Rename functions reflect that inline const is also "typeck_child" 2021-11-07 04:00:34 +00:00
llvm Rollup merge of #91207 - richkadel:rk-bump-coverage-version, r=tmandry 2021-12-01 10:50:20 +01:00
abi.rs Feat: make cg_ssa get_param borrow the builder mutable 2021-11-23 22:30:20 -05:00
allocator.rs Include debug info for the allocator shim 2021-08-31 15:24:20 -07:00
asm.rs Update more rustc/libtest things for wasm64 2021-11-10 08:35:42 -08:00
attributes.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
base.rs Make hash_result an Option. 2021-10-20 18:29:18 +02:00
builder.rs Use more robust checks in rustc for wasm 2021-11-10 08:35:42 -08:00
callee.rs add platform support details file for armv7-unknown-linux-uclibc 2021-10-06 14:33:13 +00:00
common.rs Make abi::Abi Copy and remove a *lot* of refs 2021-09-09 10:41:19 +02:00
consts.rs Use more robust checks in rustc for wasm 2021-11-10 08:35:42 -08:00
context.rs Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
declare.rs Remove the decl arg from FnAbi::llvm_type 2021-08-05 10:58:55 -07:00
intrinsic.rs Remove workaround for the forward progress handling in LLVM 2021-11-14 16:35:09 +01:00
lib.rs add rustc option for using LLVM stack smash protection 2021-11-22 20:06:22 +01:00
llvm_util.rs Disable .debug_aranges for all wasm targets 2021-11-10 10:47:00 -08:00
mono_item.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
type_of.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
va_arg.rs Fix clippy lints 2021-10-01 23:17:19 +02:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00