1
Fork 0
rust/compiler/rustc_codegen_ssa/src
Rich Kadel a7bc1a2edf Make codegen coverage_context optional, and check
Addresses Issue #78286

Libraries compiled with coverage and linked with out enabling coverage
would fail when attempting to add the library's coverage statements to
the codegen coverage context (None).

Now, if coverage statements are encountered while compiling / linking
with `-Z instrument-coverage` disabled, codegen will *not* attempt to
add code regions to a coverage map, and it will not inject the LLVM
instrprof_increment intrinsic calls.
2020-10-23 12:00:30 -07:00
..
back Remove rustc_session::config::Config 2020-10-15 12:02:24 +02:00
coverageinfo Updates to experimental coverage counter injection 2020-10-05 08:02:58 -07:00
debuginfo Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
mir Make codegen coverage_context optional, and check 2020-10-23 12:00:30 -07:00
traits Make codegen coverage_context optional, and check 2020-10-23 12:00:30 -07:00
base.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00
common.rs Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
glue.rs Change ty.kind to a method 2020-09-04 17:47:51 +02:00
lib.rs Move finalize_session_directory call out of cg_llvm 2020-10-10 15:20:35 +02:00
meth.rs
mono_item.rs ty: remove obsolete printer 2020-08-30 18:59:07 +01:00
target_features.rs Replace target.target with target and target.ptr_width with target.pointer_width 2020-10-15 12:02:24 +02:00