about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mapgen.rs
AgeCommit message (Expand)AuthorLines
2025-08-04coverage: Represent `CovmapVersion` as an enumZalathar-15/+32
2025-07-27coverage: Infer `instances_used` from `pgo_func_name_var_map`Zalathar-8/+4
2025-05-28Remove methods from StaticCodegenMethods that are not called in cg_ssa itselfbjorn3-3/+1
2025-05-28Remove a couple of uses of interior mutability around staticsbjorn3-2/+3
2025-04-07coverage: Build the CGU's global file table as late as possibleZalathar-69/+83
2025-04-06coverage: Deal with unused functions and their names in one placeZalathar-29/+5
2025-04-06coverage: Extract module `mapgen::unused` for handling unused functionsZalathar-125/+4
2025-01-29upstream rustc_codegen_ssa/rustc_middle changes for enzyme/autodiffManuel Drehwald-1/+1
2025-01-27Change `collect_and_partition_mono_items` tuple return type to a structOli Scherer-2/+4
2024-12-19coverage: Identify source files by ID, not by interned filenameZalathar-29/+28
2024-12-19coverage: Store coverage source regions as `Span` until codegenZalathar-1/+2
2024-12-17coverage: Track used functions in a set instead of a mapZalathar-49/+33
2024-12-17coverage: Pull function source hash out of `map_data.rs`Zalathar-1/+2
2024-12-17coverage: Build the global file table on the flyZalathar-31/+27
2024-12-17coverage: Use `is_eligible_for_coverage` to filter unused functionsZalathar-8/+7
2024-12-12coverage: Tidy up creation of covfun recordsZalathar-2/+5
2024-12-12coverage: Tidy up creation of covmap recordsZalathar-33/+27
2024-12-11coverage: Store intermediate region tables in `CovfunRecord`Zalathar-5/+5
2024-12-11coverage: Only generate a CGU's covmap record if it has covfun recordsZalathar-4/+14
2024-12-11coverage: Reify `CovfunRecord` as an intermediate stepZalathar-10/+12
2024-12-11coverage: Extract function metadata handling to a `covfun` submoduleZalathar-166/+8
2024-12-08coverage: Unused functions don't need to store `CoverageIdsInfo`Zalathar-2/+1
2024-12-08coverage: Remove FunctionCoverageCollectorZalathar-15/+6
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