about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/coverage.rs
AgeCommit message (Expand)AuthorLines
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-2/+2
2024-05-20Rollup merge of #125106 - Zalathar:expressions, r=davidtwcoMatthias Krüger-2/+2
2024-05-14coverage: Remove confusing comments from `CoverageKind`Zalathar-6/+0
2024-05-14coverage: Memoize newly-created counter expressionsZalathar-2/+2
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-1/+1
2024-04-30Rollup merge of #124511 - nnethercote:rm-extern-crates, r=fee1-deadMatthias Krüger-1/+1
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-0/+3
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-6/+14
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-1/+3
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-3/+101
2024-04-04coverage: Remove useless constantsZalathar-8/+0
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-2/+2
2024-03-22coverage: Clean up marker statements that aren't needed laterZalathar-3/+2
2024-03-14coverage: Include recorded branch info in coverage instrumentationZalathar-1/+8
2024-03-14coverage: Data structures for recording branch info during MIR buildingZalathar-2/+21
2024-03-13coverage: Add `CoverageKind::BlockMarker`Zalathar-0/+16
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-8/+26
2023-12-08coverage: Add `CoverageKind::SpanMarker` for including extra spans in MIRZalathar-0/+8
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+2
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-0/+2
2023-10-18coverage: Explicitly note that counter/expression IDs are function-localZalathar-0/+10
2023-10-18coverage: Store expression data in function coverage infoZalathar-20/+21
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-8/+10
2023-10-18coverage: Collect a function's coverage mappings into a single listZalathar-0/+14
2023-10-18coverage: Rename `Operand` to `CovTerm`Zalathar-7/+9
2023-10-18coverage: Store the number of counters/expressions in function coverage infoZalathar-0/+2
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-2/+10
2023-10-03coverage: Remove `next_id` methods from counter/expression IDsZalathar-10/+0
2023-09-21coverage: Don't bother renumbering expressions on the Rust sideZalathar-10/+0
2023-08-20coverage: Give the instrumentor its own counter type, separate from MIRZalathar-15/+0
2023-08-01Make coverage counter IDs count up from 0, not 1Zalathar-13/+13
2023-08-01Make coverage expression IDs count up from 0, not down from `u32::MAX`Zalathar-11/+15
2023-08-01Replace `ExpressionOperandId` with enum `Operand`Zalathar-48/+26
2023-08-01Add some line comments to enum `CoverageKind`Zalathar-0/+4
2023-01-30Replace enum `==`s with `match`es where it makes senseMaybe Waffle-1/+4
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-8/+4
2022-12-18Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb-5/+5
2022-12-18Make `#[max]` an attribute in `newtype_index`Nilstrieb-5/+5
2022-12-18Use `#[derive]` instead of custom syntax in all `newtype_index`Nilstrieb-5/+5
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-07-05Add #[derive(TypeVisitable)]Alan Egerton-14/+5
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-1/+1
2021-11-23Update CoverageMappingFormat Support to Version6Arpad Borsos-3/+3
2021-04-02Translate counters from Rust 1-based to LLVM 0-based counter idsRich Kadel-1/+19
2021-03-27Remove (lots of) dead codeJoshua Nelson-8/+0
2021-02-21New pass to deduplicate blocksSimon Vandel Sillesen-3/+14
2020-12-24use matches!() macro in more placesMatthias Krüger-8/+2
2020-11-25fix URLs in doc commentRich Kadel-3/+3
2020-11-23Updated links to LLVM 11 docs and typesRich Kadel-3/+3