File tree 6 files changed +13
-4
lines changed
6 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11
11
strategy :
12
12
matrix :
13
13
version :
14
- - 1.75 .0
14
+ - 1.80 .0
15
15
- stable
16
16
- beta
17
17
- nightly
Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ 0.7.1] 2025-02-14
8
+ ### Changed
9
+ - ` InstrumentationProfile::is_empty ` now takes into account the symbol table
10
+ - Bump MSRV to 1.80.0
11
+ - Remove invalid assertion from ` HashTable `
12
+
7
13
## [ 0.7.0] - 2024-08-05
8
14
### Added
9
15
- LLVM 19 support (ignores function entry coverage and some failing proftext files)
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " llvm_profparser"
3
- version = " 0.7.0 "
3
+ version = " 0.7.1 "
4
4
authors = [
" xd009642 <[email protected] >" ]
5
5
description = " Parsing and interpretation of llvm coverage profiles and generated data"
6
6
repository = " https://github.com/xd009642/llvm-profparser"
@@ -11,6 +11,7 @@ categories = ["encoding"]
11
11
keywords = [" coverage" , " llvm" ]
12
12
exclude = [" tests/*" , " .github/*" , " benches/*" ]
13
13
build = " build.rs"
14
+ rust-version = " 1.80.0"
14
15
15
16
[features ]
16
17
default = [" cli" ]
Original file line number Diff line number Diff line change 1
1
use std:: { env, process:: Command } ;
2
2
3
3
fn main ( ) {
4
+ for i in 11 ..20 {
5
+ println ! ( "cargo::rustc-check-cfg=cfg(llvm_{})" , i)
6
+ }
4
7
let rustc = env:: var ( "RUSTC" ) . unwrap ( ) ;
5
8
6
9
let output = Command :: new ( rustc) . arg ( "-vV" ) . output ( ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ impl HashTable {
129
129
_offset : usize ,
130
130
bucket_start : usize ,
131
131
) -> ParseResult < ' a , Self > {
132
- assert ! ( bucket_start > 0 ) ;
133
132
let ( bytes, num_buckets) = le_u64 ( & input[ bucket_start..] ) ?;
134
133
debug ! ( "Number of hashtable buckets: {}" , num_buckets) ;
135
134
let ( _bytes, mut num_entries) = le_u64 ( bytes) ?;
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ impl InstrumentationProfile {
245
245
246
246
/// Returns true if there are no instrumentation records associated with the profile
247
247
pub fn is_empty ( & self ) -> bool {
248
- self . records . is_empty ( )
248
+ self . records . is_empty ( ) && self . symtab . is_empty ( )
249
249
}
250
250
}
251
251
You can’t perform that action at this time.
0 commit comments