about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
AgeCommit message (Expand)AuthorLines
2024-11-30coverage: Use a query to identify which counter/expression IDs are usedZalathar-14/+14
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-05coverage: Extract safe FFI wrapper functions to `llvm_cov`Zalathar-89/+10
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-10-31coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailableZalathar-1/+6
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)-105/+33
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-22/+22
2024-10-25coverage: Make obtaining the codegen coverage context infallibleZalathar-19/+10
2024-10-25coverage: Consolidate creation of covmap/covfun recordsZalathar-66/+3
2024-10-24Rollup merge of #131956 - Zalathar:llvm-counters, r=compiler-errors,SwatinemStuart Cook-5/+13
2024-10-20Make `llvm::set_section` take a `&CStr`Zalathar-9/+9
2024-10-20Pass coverage mappings to LLVM as separate structsZalathar-5/+13
2024-10-19cg_llvm: Reuse LLVM-C Comdat supportJubilee Young-1/+4
2024-10-18cg_llvm: Switch `llvm::add_global` to `&CStr`Jubilee Young-5/+7
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-18/+11
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-19Reformat some comments.Nicholas Nethercote-7/+6
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-2/+2
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-4/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+6
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+1
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
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-4/+4
2024-04-29mcdc-coverage: Add possibility for codegen llvm to handle several condition b...Dorian Péron-7/+18
2024-04-20coverage. Lowering MC/DC statements to llvm-irzhuyunxing-1/+69
2024-04-04coverage: Remove useless constantsZalathar-4/+4
2024-04-01Auto merge of #122972 - beetrees:use-align-type, r=fee1-deadbors-3/+4
2024-04-01Use the `Align` type when parsing alignment attributesbeetrees-3/+4
2024-03-23Unbox and unwrap the contents of `StatementKind::Coverage`Zalathar-3/+1
2024-03-22coverage: Clean up marker statements that aren't needed laterZalathar-9/+1
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-2/+2
2024-01-02coverage: Avoid a query stability hazard in `function_coverage_map`Zalathar-4/+4
2023-12-16coverage: Avoid creating `func_coverage` for marker statementsZalathar-3/+11
2023-12-08coverage: Add `CoverageKind::SpanMarker` for including extra spans in MIRZalathar-0/+3
2023-10-22coverage: Split `FunctionCoverage` into distinct collector/finished phasesZalathar-4/+7
2023-10-21coverage: Move unused-function helpers closer to where they are usedZalathar-37/+2
2023-10-21coverage: Emit mappings for unused functions without generating stubsZalathar-69/+7
2023-10-18coverage: Explicitly note that counter/expression IDs are function-localZalathar-0/+7
2023-10-18coverage: Store expression data in function coverage infoZalathar-2/+2
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-19/+10
2023-10-18coverage: Store the number of counters/expressions in function coverage infoZalathar-4/+14
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-12/+16
2023-10-03coverage: Let each coverage statement hold a vector of code regionsZalathar-26/+7