fuzzgen: Statistics framework (#4868)

* cranelift: Add non user trap codes function

* cranelift: Add Fuzzgen stats

* cranelift: Use `once_cell` and cleanup some stuff

* fuzzgen: Remove total_inputs metric

* fuzzgen: Filter empty trap codes
This commit is contained in:
Afonso Bordado
2022-09-27 17:04:57 +01:00
committed by GitHub
parent ee2ef5bdd0
commit 65a3af72c7
5 changed files with 125 additions and 20 deletions

View File

@@ -1385,7 +1385,7 @@ impl<'a, V> ControlFlow<'a, V> {
}
}
#[derive(Error, Debug, PartialEq)]
#[derive(Error, Debug, PartialEq, Eq, Hash)]
pub enum CraneliftTrap {
#[error("user code: {0}")]
User(TrapCode),