about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
AgeCommit message (Expand)AuthorLines
2023-10-22coverage: Split `FunctionCoverage` into distinct collector/finished phasesZalathar-4/+7
2023-10-21coverage: Move unused-function helpers closer to where they are usedZalathar-37/+2
2023-10-21coverage: Emit mappings for unused functions without generating stubsZalathar-69/+7
2023-10-18coverage: Explicitly note that counter/expression IDs are function-localZalathar-0/+7
2023-10-18coverage: Store expression data in function coverage infoZalathar-2/+2
2023-10-18coverage: Store all of a function's mappings in function coverage infoZalathar-19/+10
2023-10-18coverage: Store the number of counters/expressions in function coverage infoZalathar-4/+14
2023-10-18coverage: Attach an optional `FunctionCoverageInfo` to `mir::Body`Zalathar-12/+16
2023-10-03coverage: Let each coverage statement hold a vector of code regionsZalathar-26/+7
2023-10-03coverage: Mappings for unused functions can all be zeroZalathar-11/+3
2023-08-22Inline functions called from `add_coverage`Arpad Borsos-123/+46
2023-08-04coverage: Don't convert symbol names to `CString` for FFIZalathar-4/+8
2023-08-04coverage: Don't convert filenames to `CString` for FFIZalathar-4/+10
2023-08-02coverage: Consolidate FFI types into one moduleZalathar-3/+3
2023-08-01Make coverage counter IDs count up from 0, not 1Zalathar-6/+4
2023-08-01Make coverage expression IDs count up from 0, not down from `u32::MAX`Zalathar-2/+2
2023-08-01Replace `ExpressionOperandId` with enum `Operand`Zalathar-3/+3
2023-07-24coverage: Obtain the `__llvm_covfun` section name outside a per-function loopZalathar-7/+21
2023-07-16Auto merge of #113430 - Zalathar:hash, r=b-naberbors-6/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-2/+2
2023-07-13Remove `LLVMRustCoverageHashCString`Zalathar-5/+0
2023-07-13Pass a byte slice to `coverageinfo::hash_bytes` instead of an owned vectorZalathar-1/+1
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+3
2023-07-05Move `coverageinfo::ffi` and `coverageinfo::map` out of SSAZalathar-1/+3
2023-07-05Remove trait `CoverageInfoMethods`, since non-LLVM backends don't need itZalathar-4/+10
2023-07-05Narrow trait `CoverageInfoBuilderMethods` down to just one methodZalathar-2/+57
2023-05-09CFI: Fix SIGILL reached via trait objectsRamon de C Valle-0/+1
2023-02-17Use `IntoIterator` for `mk_fn_sig`.Nicholas Nethercote-3/+1
2022-11-27Prefer doc comments over `//`-comments in compilerMaybe Waffle-1/+1
2022-09-01Always import all tracing macros for the entire crate instead of piecemeal by...Oli Scherer-1/+0
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-4/+4
2021-12-16Remove `in_band_lifetimes` from `rustc_codegen_llvm`LegionMammal978-7/+7
2021-12-03code-cov: generate dead functions with private/default linkageWesley Wiser-2/+2
2021-10-01Fix clippy lintsGuillaume Gomez-2/+2
2021-09-18Querify `fn_abi_of_{fn_ptr,instance}`.Eduard-Mihai Burtescu-1/+1
2021-09-18ty::layout: replicate `layout_of` setup for `fn_abi_of_{fn_ptr,instance}`.Eduard-Mihai Burtescu-4/+3
2021-05-17rustc_codegen_ssa: append blocks to functions w/o creating a builder.Eduard-Mihai Burtescu-1/+2
2021-04-02Translate counters from Rust 1-based to LLVM 0-based counter idsRich Kadel-6/+2
2021-03-23Changes from review commentsRich Kadel-3/+23
2021-03-19gave unused_fn WeakAnyLinkage; moved create_pgo_func_name_varRich Kadel-18/+19
2021-03-19coverage bug fixes and optimization supportRich Kadel-12/+129
2021-03-01Don't directly expose coverage::CounterMappingRegion via FFINikita Popov-2/+2
2020-11-23Upgrades the coverage map to Version 4Rich Kadel-8/+46
2020-11-05Addressed all feedback to dateRich Kadel-5/+3
2020-11-05Injecting expressions in place of counters where helpfulRich Kadel-4/+15
2020-11-05Rust coverage before splitting instrument_coverage.rsRich Kadel-27/+37
2020-10-23Make codegen coverage_context optional, and checkRich Kadel-32/+47
2020-08-30mv compiler to compiler/mark-0/+179