File tree 2 files changed +2
-2
lines changed
compiler/rustc_codegen_llvm/src/coverageinfo
src/test/run-make-fulldeps/coverage-llvmir-base
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ impl CoverageMapGenerator {
169
169
) ;
170
170
171
171
// Create the coverage data header (Note, fields 0 and 2 are now always zero,
172
- // as of `llvm::coverage::CovMapVersion::Version4`.
172
+ // as of `llvm::coverage::CovMapVersion::Version4`.)
173
173
let zero_was_n_records_val = cx. const_u32 ( 0 ) ;
174
174
let filenames_size_val = cx. const_u32 ( filenames_size as u32 ) ;
175
175
let zero_was_coverage_size_val = cx. const_u32 ( 0 ) ;
Original file line number Diff line number Diff line change 56
56
-DINSTR_PROF_ORDERFILE='$(DATA_SECTION_PREFIX)__llvm_orderfile'
57
57
endif
58
58
59
- ifeq ($(LLVM_VERSION_11_PLUS ) ,false )
59
+ ifeq ($(LLVM_VERSION_11_PLUS ) ,true )
60
60
all : test_llvm_ir
61
61
else
62
62
$(info Rust option `-Z instrument-coverage` requires LLVM 11 or higher. Test skipped.)
You can’t perform that action at this time.
0 commit comments