about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs
AgeCommit message (Expand)AuthorLines
2024-11-30coverage: Use a query to identify which counter/expression IDs are usedZalathar-1/+5
2024-11-30coverage: All counter terms in an unused function are zeroZalathar-2/+1
2024-11-29Revert "Rollup merge of #133418 - Zalathar:spans, r=jieyouxu"Zalathar-66/+63
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-8/+18
2024-11-24coverage: Rename some FFI fields from `span` to `cov_span`Zalathar-5/+6
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-58/+72
2024-11-10coverage: Pass a `LocalFileId` to `CoverageSpan::from_source_region`Zalathar-2/+2
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-51/+55
2024-11-08coverage: Add `GlobalFileId` for stricter type-checking of file IDsZalathar-7/+17
2024-11-05coverage: Extract safe FFI wrapper functions to `llvm_cov`Zalathar-37/+20
2024-10-31coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailableZalathar-1/+5
2024-10-26coverage: Add links to LLVM docs for the coverage mapping formatZalathar-0/+2
2024-10-25coverage: Store `covfun_section_name` in the codegen contextZalathar-5/+2
2024-10-25coverage: Make obtaining the codegen coverage context infallibleZalathar-10/+2
2024-10-25coverage: Consolidate creation of covmap/covfun recordsZalathar-22/+61
2024-10-24Rollup merge of #131956 - Zalathar:llvm-counters, r=compiler-errors,SwatinemStuart Cook-8/+40
2024-10-20Make `llvm::set_section` take a `&CStr`Zalathar-1/+3
2024-10-20Pass coverage mappings to LLVM as separate structsZalathar-8/+40
2024-10-18cg_llvm: Switch `llvm::add_global` to `&CStr`Jubilee Young-1/+1
2024-10-11coverage: Remove code related to LLVM 17Zalathar-15/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-1/+1
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+6
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+1
2024-04-03coverage: Correctly report and check LLVM's coverage mapping versionZalathar-9/+20
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-1/+7
2024-03-26coverage: Detect functions that have lost all their coverage statementsZalathar-4/+18
2024-03-26coverage: Overhaul the search for unused functionsZalathar-62/+68
2024-03-26coverage: Inline creating a dummy instance for unused functionsZalathar-11/+11
2024-03-13coverage: Remove all unstable values of `-Cinstrument-coverage`Zalathar-7/+6
2024-03-02avoid collecting into vecs in some placesMatthias Krüger-20/+16
2024-02-14clean up potential_query_instability with FxIndexMap and UnordMapyukang-1/+0
2024-01-30add missing potential_query_instability for keys and values in hashmapyukang-0/+1
2024-01-11coverage: Add enums to accommodate other kinds of coverage mappingsZalathar-12/+6
2024-01-02coverage: Avoid a query stability hazard in `function_coverage_map`Zalathar-5/+0
2023-12-12rustc_codegen_llvm: Enforce `rustc::potential_query_instability` lintMartin Nordholts-0/+5
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-4/+1
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-2/+0
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-22coverage: Emit the filenames section before encoding per-function mappingsZalathar-21/+15
2023-10-22coverage: Encode function mappings without re-sorting themZalathar-12/+14
2023-10-22coverage: Encapsulate local-to-global file mappingsZalathar-5/+28
2023-10-22coverage: Build the global file table ahead of timeZalathar-25/+43
2023-10-22coverage: Fetch expressions and mappings separatelyZalathar-3/+3
2023-10-22coverage: Split `FunctionCoverage` into distinct collector/finished phasesZalathar-2/+3
2023-10-21coverage: Change query `codegened_and_inlined_items` to a plain functionZalathar-3/+34