about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
AgeCommit message (Expand)AuthorLines
2023-12-20coverage: Check for `async fn` explicitly, without needing a heuristicZalathar-1/+3
2023-12-20coverage: Pass around `&ExtractedHirInfo` instead of individual fieldsZalathar-18/+6
2023-12-16coverage: Skip instrumenting a function if no spans were extractedZalathar-2/+5
2023-12-15coverage: Check that the function signature span precedes the bodyZalathar-2/+4
2023-12-15coverage: Compare span source files without involving `Lrc<SourceFile>`Zalathar-11/+14
2023-12-15coverage: Inline and simplify `fn_sig_and_body`Zalathar-14/+9
2023-12-15coverage: Use `LocalDefId` in `extract_hir_info`Zalathar-10/+8
2023-12-15coverage: Extract helper for getting HIR info for coverageZalathar-28/+35
2023-12-15coverage: Don't bother storing the source file in `Instrumentor`Zalathar-4/+3
2023-12-15coverage: Extract `is_eligible_for_coverage`Zalathar-14/+25
2023-12-15coverage: Simplify parts of `InstrumentCoverage::run_pass`Zalathar-8/+6
2023-12-15coverage: Assert that the instrumentor never sees promoted MIRZalathar-9/+3
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-31coverage: Replace impossible `coverage::Error` with assertionsZalathar-16/+1
2023-10-21coverage: Simplify the injection of coverage statementsZalathar-123/+72
2023-10-19Auto merge of #115214 - Urgau:rfc-3127-trim-paths, r=compiler-errorsbors-1/+4
2023-10-18coverage: Store expression data in function coverage infoZalathar-38/+4
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-21/+13
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-3/+5
2023-10-17[RFC 3127 - Trim Paths]: Condition remapped filepath on remap scopesUrgau-1/+4
2023-10-03coverage: Remove code for making expression copies of BCB countersZalathar-10/+2
2023-10-03coverage: Store each BCB's code regions in one coverage statementZalathar-11/+12
2023-10-03coverage: Let each coverage statement hold a vector of code regionsZalathar-12/+9
2023-10-03coverage: Update comments/logs that referred to `CoverageSpan`Zalathar-13/+13
2023-10-03coverage: Encapsulate coverage spansZalathar-7/+6
2023-09-20coverage: Remove vestigial `format_counter` methodsZalathar-16/+4
2023-09-20coverage: Remove debug code from the instrumentorZalathar-100/+7
2023-09-03Use relative positions inside a SourceFile.Camille GILLOT-19/+14
2023-08-20coverage: Don't store `function_source_hash` in `BcbCounter::Counter`Zalathar-3/+5
2023-08-20coverage: Give the instrumentor its own counter type, separate from MIRZalathar-13/+32
2023-08-20coverage: Move a debug print into `make_code_region`Zalathar-8/+11
2023-08-13Store BCB counters externally, not directly in the BCB graphZalathar-21/+16
2023-08-13Accumulate intermediate expressions into `CoverageCounters`Zalathar-43/+38
2023-08-01Replace `ExpressionOperandId` with enum `Operand`Zalathar-1/+1
2023-04-26Auto merge of #97368 - tmandry:coverage-underflow, r=jyn514bors-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-1/+6
2023-03-08Only compute the crate hash when necessary.Nicholas Nethercote-1/+1
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-1/+2
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-3/+3
2022-08-29Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obkMatthias Krüger-1/+1
2022-08-26Merge implementations of HIR fn_decl and fn_sig.Camille GILLOT-1/+1
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-1/+1
2022-07-13Rename `debugging_opts` to `unstable_opts`Joshua Nelson-2/+2
2022-07-06Allow to create definitions inside the query system.Camille GILLOT-8/+1
2022-06-19Use `Span::eq_ctxt` method instead of `.ctxt() == .ctxt()`Michael Goulet-1/+1
2022-05-24coverage: Don't underflow column numberTyler Mandry-1/+1
2022-01-27Store def_id_to_hir_id as variant in hir_owner.Camille GILLOT-1/+1