summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage
AgeCommit message (Expand)AuthorLines
2024-10-08coverage. Warn about too many test vectorszhuyunxing-1/+7
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-115/+274
2024-10-06coverage: Store `bcb_needs_counter` in a field as a bitsetZalathar-8/+14
2024-10-06coverage: Have MakeBcbCounters own its CoverageCountersZalathar-13/+14
2024-10-06coverage: Make `BcbCounter` module-privateZalathar-10/+6
2024-10-03Avoid ICE in coverage builds with bad `#[coverage(..)]` attributesZalathar-1/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-21/+18
2024-09-15coverage: Remove unnecessary `bcb_successors`Zalathar-7/+1
2024-09-15coverage: Replace `bcb_has_multiple_in_edges` with `sole_predecessor`Zalathar-35/+30
2024-09-15coverage: Simplify choosing an out-edge to be given a counter expressionZalathar-69/+48
2024-09-15coverage: Track whether a node's count is the sum of its out-edgesZalathar-13/+57
2024-09-15coverage: Streamline creation of physical edge countersZalathar-6/+17
2024-09-15coverage: Streamline creation of physical node countersZalathar-23/+19
2024-09-15coverage: Tweak comments in `graph`Zalathar-4/+4
2024-09-12coverage: Simplify creation of sum countersZalathar-17/+13
2024-09-12coverage: Separate creation of edge counters from building their sumZalathar-28/+26
2024-09-10Rollup merge of #130184 - Zalathar:counters, r=compiler-errorsMatthias Krüger-132/+102
2024-09-10coverage: Avoid referring to "operands" in counter creationZalathar-8/+8
2024-09-10coverage: Avoid referring to out-edges as "branches"Zalathar-97/+80
2024-09-10coverage: Avoid referring to "coverage spans" in counter creationZalathar-28/+15
2024-09-10Improve comment formatting.Nicholas Nethercote-1/+2
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-2/+2
2024-09-06coverage: Treat await similar to a macroJonathan Conder-34/+37
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-2/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+5
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-20/+20
2024-08-28coverage: Simplify some debug loggingZalathar-7/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-11/+10
2024-07-15coverage: Restrict `ExpressionUsed` simplification to `Code` mappingsZalathar-4/+18
2024-07-15coverage: Store a copy of `num_bcbs` in `ExtractedMappings`Zalathar-7/+10
2024-07-08coverage: Extract hole spans from HIR instead of MIRZalathar-41/+87
2024-07-08Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJungbors-4/+8
2024-07-07Support tail calls in mir via `TerminatorKind::TailCall`Maybe Waffle-4/+8
2024-07-05coverage: Rename `mir::coverage::BranchInfo` to `CoverageInfoHi`Zalathar-10/+12
2024-06-30coverage: Avoid getting extra unexpansion info when we don't need itZalathar-16/+21
2024-06-30coverage: Move span unexpansion into its own submoduleZalathar-62/+59
2024-06-26coverage: Apply `#[coverage(..)]` recursively to nested functionsZalathar-3/+9
2024-06-26coverage: Detach `#[coverage(..)]` from codegen attribute handlingZalathar-1/+26
2024-06-21Save 2 pointers in `TerminatorKind` (96 → 80 bytes)Scott McMurray-1/+1
2024-06-18Rollup merge of #126587 - Zalathar:no-mir-spans, r=oli-obkGuillaume Gomez-16/+25
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-1/+1
2024-06-17coverage: Add debugging flag `-Zcoverage-options=no-mir-spans`Zalathar-16/+25
2024-06-17Rollup merge of #126538 - Zalathar:graph, r=nnethercote许杰友 Jieyou Xu (Joe)-154/+46
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-16coverage: Prefer `Iterator::copied`Zalathar-1/+1
2024-06-16coverage: Flatten some graph code with let-elseZalathar-18/+17
2024-06-16coverage: Reduce/simplify visibility in `coverage::graph`Zalathar-24/+28
2024-06-16coverage: Remove some old low-value unit tests for graph traversalZalathar-111/+0
2024-06-16coverage: Split span refinement into two separate stepsZalathar-10/+12