llvm_profparser 0.1.1-alpha1

Parsing and interpretation of llvm coverage profiles and generated data
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::instrumentation_profile::*;
use std::io;

/// The `BinaryProfWriter` writes out the file as an Indexed Instrumentation file.
#[derive(Debug, Clone, Copy, Default)]
pub struct BinaryProfWriter;

impl BinaryProfWriter {
    pub fn new() -> Self {
        Default::default()
    }
}

impl InstrProfWriter for BinaryProfWriter {
    fn write(&self, _profile: &InstrumentationProfile, _writer: &mut impl Write) -> io::Result<()> {
        todo!();
    }
}