xd009642 / llvm-profparser

Mostly complete pure rust implementation of parsing llvm instrumentation profile data
Apache License 2.0
13 stars 9 forks source link

LLVM 17/18 proftext parsing failure #37

Open xd009642 opened 6 months ago

xd009642 commented 6 months ago

I don't care a great deal about these because they're not something tarpaulin requires, but it would be generally nice to fix them. For llvm 17 and 18 I've removed the following test vector from proftext parsing:

flatten_instr.proftext:

# IR level Instrumentation Flag
:ir
# Always instrument the function entry block
:entry_first
foo
# Func Hash:
1111
# Num Counters:
5
# Counter Values:
10000
50
2000
40
6000

bar.cc:bar
# Func Hash:
2222
# Num Counters:
10
# Counter Values:
0
0
0
0
0
0
0
0
0
0