search for: _callsites_

Displaying 2 results from an estimated 2 matches for "_callsites_".

2016 Mar 29
0
Ignoring coverage for noreturn decls
...hink there’s definitely room for some heuristics around ignoring things like llvm_unreachable (perhaps opt-in?). I think it's actually useful to have coverage for noreturn functions. Googletest lets you write death tests for this sort of thing. Maybe it makes sense to emit zero regions at the _callsites_ of noreturn functions instead. Wdyt? > I’m investigating emitting a zero region for all noreturn decls whilst codegenning, as a start. > > Anyone have any input as to a) if this is a good idea, or b) how best to implement and expose it? It might be interesting to try this and see if th...
2016 Mar 28
2
Ignoring coverage for noreturn decls
Hi all, Recently I’ve noticed in coverage profiles that llvm_unreachable and the like are considered uncovered because there’s no special behavior in instrumentation to ‘ignore’ noreturn paths. While I don’t necessarily think it’s ideal to ignore all noreturn decls, I think there’s definitely room for some heuristics around ignoring things like llvm_unreachable (perhaps opt-in?). I’m