[clang] [Coverage] Handle array decomposition correctly (PR #88881)

Andrey Ali Khan Bolshakov via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 16 20:58:41 PDT 2024


bolshakov-a wrote:

I don't see any difference on your example (with `main()` and function definitions added) with and without my patch neither in the dumped coverage mapping nor in the output of `llvm-cov show ... --show-branches=count --show-expansions -show-line-counts-or-regions` command. If the coverage mapping works with code regions, it looks quite natural that an implicit code (`foo()` call inside `f()` in the sample) has no corresponding region and hence no mapping (except macro expansions).

Maybe, @hyp can clarify?

https://github.com/llvm/llvm-project/pull/88881


More information about the cfe-commits mailing list