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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits