File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/rustc_codegen_llvm/src/coverageinfo
src/test/run-make-fulldeps/coverage-llvmir-base Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ impl CoverageMapGenerator {
169169 ) ;
170170
171171 // 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`.)
173173 let zero_was_n_records_val = cx. const_u32 ( 0 ) ;
174174 let filenames_size_val = cx. const_u32 ( filenames_size as u32 ) ;
175175 let zero_was_coverage_size_val = cx. const_u32 ( 0 ) ;
Original file line number Diff line number Diff line change 5656 -DINSTR_PROF_ORDERFILE='$(DATA_SECTION_PREFIX)__llvm_orderfile'
5757endif
5858
59- ifeq ($(LLVM_VERSION_11_PLUS ) ,false )
59+ ifeq ($(LLVM_VERSION_11_PLUS ) ,true )
6060all : test_llvm_ir
6161else
6262$(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