Update compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs
This commit is contained in:
parent
b1df6c0e63
commit
d334f589c4
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ pub fn finalize<'ll, 'tcx>(cx: &CodegenCx<'ll, 'tcx>) {
|
|||
let version = coverageinfo::mapping_version();
|
||||
if version != 3 {
|
||||
cx.tcx.sess.fatal("rustc option `-Z instrument-coverage` requires LLVM 11 or higher.");
|
||||
}```
|
||||
}
|
||||
|
||||
let function_coverage_map = match cx.coverage_context() {
|
||||
Some(ctx) => ctx.take_function_coverage_map(),
|
||||
|
|
Loading…
Add table
Reference in a new issue