about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo
AgeCommit message (Expand)AuthorLines
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-67/+81
2024-11-10coverage: Pass a `LocalFileId` to `CoverageSpan::from_source_region`Zalathar-3/+9
2024-11-08coverage: Remove unhelpful code for handling multiple files per functionZalathar-59/+57
2024-11-08coverage: Add `GlobalFileId` for stricter type-checking of file IDsZalathar-7/+17
2024-11-05coverage: Tidy up coverage-specific FFI functionsZalathar-14/+12
2024-11-05coverage: Extract safe FFI wrapper functions to `llvm_cov`Zalathar-126/+132
2024-11-03compiler: Directly use rustc_abi in codegenJubilee Young-1/+1
2024-10-31coverage: Avoid ICE when `coverage_cx` is unexpectedly unavailableZalathar-2/+11
2024-10-28Use a type-safe helper to cast `&str` and `&[u8]` to `*const c_char`Zalathar-4/+4
2024-10-26Rollup merge of #132124 - Zalathar:consolidate-covstar, r=jieyouxu许杰友 Jieyou Xu (Joe)-140/+98
2024-10-26coverage: Add links to LLVM docs for the coverage mapping formatZalathar-0/+2
2024-10-25coverage: Emit MC/DC intrinsics using the normal helper methodZalathar-0/+1
2024-10-25coverage: Store `covfun_section_name` in the codegen contextZalathar-27/+24
2024-10-25coverage: Make obtaining the codegen coverage context infallibleZalathar-29/+12
2024-10-25coverage: Consolidate creation of covmap/covfun recordsZalathar-88/+64
2024-10-24Rollup merge of #131956 - Zalathar:llvm-counters, r=compiler-errors,SwatinemStuart Cook-343/+113
2024-10-20Make `llvm::set_section` take a `&CStr`Zalathar-10/+12
2024-10-20Pass coverage mappings to LLVM as separate structsZalathar-334/+104
2024-10-20Reduce visibility of coverage FFI functions/typesZalathar-10/+10
2024-10-19cg_llvm: Reuse LLVM-C Comdat supportJubilee Young-1/+4
2024-10-18cg_llvm: Switch `llvm::add_global` to `&CStr`Jubilee Young-6/+8
2024-10-11coverage: Remove code related to LLVM 17Zalathar-15/+6
2024-10-08coverage. Adapt to mcdc mapping formats introduced by llvm 19zhuyunxing-18/+11
2024-10-08coverage. MCDC ConditionId start from 0 to keep with llvm 19zhuyunxing-6/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-19Reformat some comments.Nicholas Nethercote-8/+8
2024-09-17Rename supertraits of `CodegenMethods`.Nicholas Nethercote-3/+3
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-28coverage: Rename `CodeRegion` to `SourceRegion`Zalathar-9/+10
2024-08-16Add `warn(unreachable_pub)` to `rustc_codegen_llvm`.Nicholas Nethercote-18/+18
2024-07-29Reformat `use` declarations.Nicholas Nethercote-17/+14
2024-07-15coverage: Restrict `ExpressionUsed` simplification to `Code` mappingsZalathar-2/+9
2024-05-30coverage: Rename MC/DC `conditions_num` to `num_conditions`Zalathar-3/+4
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_codegen_llvm`.Nicholas Nethercote-0/+3
2024-05-14coverage: `CoverageIdsInfo::mcdc_bitmap_bytes` is never neededZalathar-6/+1
2024-05-01coverage: Replace `max_decision_depth` with `num_condition_bitmaps`Zalathar-1/+1
2024-05-01coverage: Set up MC/DC bitmaps without additional unsafe codeZalathar-5/+15
2024-05-01coverage: Eagerly do start-of-function codegen for coverageZalathar-27/+27
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-1/+2
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-4/+4
2024-04-29mcdc-coverage: Add possibility for codegen llvm to handle several condition b...Dorian Péron-7/+18
2024-04-20coverage. Lowering MC/DC statements to llvm-irzhuyunxing-1/+69
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-1/+157
2024-04-04Auto merge of #123455 - matthiaskrgr:rollup-b6nu296, r=matthiaskrgrbors-4/+4
2024-04-04coverage: Remove useless constantsZalathar-4/+4
2024-04-03coverage: Correctly report and check LLVM's coverage mapping versionZalathar-9/+20
2024-04-01Auto merge of #122972 - beetrees:use-align-type, r=fee1-deadbors-3/+4
2024-04-01Use the `Align` type when parsing alignment attributesbeetrees-3/+4
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-1/+7