about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo
AgeCommit message (Expand)AuthorLines
2024-12-08coverage: Use a query to find counters/expressions that must be zeroZalathar-112/+4
2024-12-08coverage: Move `CoverageIdsInfo` into `mir::coverage`Zalathar-3/+2
2024-11-30coverage: Use a query to identify which counter/expression IDs are usedZalathar-72/+34
2024-11-30coverage: All counter terms in an unused function are zeroZalathar-4/+3
2024-11-30coverage: Hoist and explain the check for `coverage_cx`Zalathar-11/+14
2024-11-30coverage: Rename `CrateCoverageContext` to `CguCoverageContext`Zalathar-3/+3
2024-11-29Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu"Zalathar-207/+96
2024-11-24coverage: Identify source files by ID, not by interned filenameZalathar-43/+42
2024-11-24coverage: Store coverage source regions as `Span` until codegenZalathar-37/+155
2024-11-24coverage: Rename some FFI fields from `span` to `cov_span`Zalathar-9/+10
2024-11-24coverage: Ignore functions that end up having no mappingsZalathar-9/+2
2024-11-10Rollup merge of #132675 - Zalathar:empty-spans, r=jieyouxuMatthias Krüger-67/+81
2024-11-10coverage: Pass a `LocalFileId` to `CoverageSpan::from_source_region`Zalathar-3/+9
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-59/+57
2024-11-08coverage: Add `GlobalFileId` for stricter type-checking of file IDsZalathar-7/+17
2024-11-05coverage: Tidy up coverage-specific FFI functionsZalathar-14/+12
2024-11-05coverage: Extract safe FFI wrapper functions to `llvm_cov`Zalathar-126/+132
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-10-31coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailableZalathar-2/+11
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-4/+4
2024-10-26Rollup merge of #132124 - Zalathar:consolidate-covstar, r=jieyouxu许杰友 Jieyou Xu (Joe)-140/+98
2024-10-26coverage: Add links to LLVM docs for the coverage mapping formatZalathar-0/+2
2024-10-25coverage: Emit MC/DC intrinsics using the normal helper methodZalathar-0/+1
2024-10-25coverage: Store `covfun_section_name` in the codegen contextZalathar-27/+24
2024-10-25coverage: Make obtaining the codegen coverage context infallibleZalathar-29/+12
2024-10-25coverage: Consolidate creation of covmap/covfun recordsZalathar-88/+64
2024-10-24Rollup merge of #131956 - Zalathar:llvm-counters, r=compiler-errors,SwatinemStuart Cook-343/+113
2024-10-20Make `llvm::set_section` take a `&CStr`Zalathar-10/+12
2024-10-20Pass coverage mappings to LLVM as separate structsZalathar-334/+104
2024-10-20Reduce visibility of coverage FFI functions/typesZalathar-10/+10
2024-10-19cg_llvm: Reuse LLVM-C Comdat supportJubilee Young-1/+4
2024-10-18cg_llvm: Switch `llvm::add_global` to `&CStr`Jubilee Young-6/+8
2024-10-11coverage: Remove code related to LLVM 17Zalathar-15/+6
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-18/+11
2024-10-08coverage. MCDC ConditionId start from 0 to keep with llvm 19zhuyunxing-6/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-19Reformat some comments.Nicholas Nethercote-8/+8
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-3/+3
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-9/+10
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-18/+18
2024-07-29Reformat `use` declarations.Nicholas Nethercote-17/+14
2024-07-15coverage: Restrict `ExpressionUsed` simplification to `Code` mappingsZalathar-2/+9
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-3/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+3
2024-05-14coverage: `CoverageIdsInfo::mcdc_bitmap_bytes` is never neededZalathar-6/+1
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-1/+1
2024-05-01coverage: Set up MC/DC bitmaps without additional unsafe codeZalathar-5/+15
2024-05-01coverage: Eagerly do start-of-function codegen for coverageZalathar-27/+27
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-1/+2