Struct llvm_profparser::coverage::coverage_mapping::CoverageMapping
source · [−]pub struct CoverageMapping<'a> {
pub mapping_info: Vec<CoverageMappingInfo>,
/* private fields */
}Expand description
So what the LLVM one has that this one doesn’t yet:
- DenseMap<size_t, DenseSet<size_t>> RecordProvenance
- std::vector
functions (this is probably taken straight from InstrumentationProfile - DenseMap<size_t, SmallVector<unsigned, 0>> FilenameHash2RecordIndices
- Vec<Pair<String, u64>> FuncHashMismatches
Fields
mapping_info: Vec<CoverageMappingInfo>Implementations
sourceimpl<'a> CoverageMapping<'a>
impl<'a> CoverageMapping<'a>
pub fn new(
object_files: &[PathBuf],
profile: &'a InstrumentationProfile
) -> Result<Self, Box<dyn Error>>
pub fn generate_report(&self) -> CoverageReport
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoverageMapping<'a>
impl<'a> Send for CoverageMapping<'a>
impl<'a> Sync for CoverageMapping<'a>
impl<'a> Unpin for CoverageMapping<'a>
impl<'a> UnwindSafe for CoverageMapping<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more