There are several bugs with statement("...") handling in tapsets.cxx.
patch committed for summary bug (prologue processing should be bypassed) still need patch for stmt address verification
Solving this the brute force way may involve - finding the function that contains the given PC address - finding that function's set of (source) line records - iterating across them to find a matching pc This would restrict statement(NUM) probes to a source-level statement/line. Restricting them finer, to instruction granularity, would probably require piecemeal disassembly, which I'd rather avoid if possible.
commit 86bf665 from 2008-06-11.