On Friday, 10 May 2019 at 14:00:30 UTC, Denis Feklushkin wrote:
Build with dub some package. Profiling are enabled by dub.json:

"dflags-ldc": ["-fprofile-instr-generate", "-finstrument-functions", "-cov"],

Resulting default.profraw (and generated default.profdata) contains only calls to external libraries, but not my internal functions calls.

Why?

You only need `-fprofile-instr-generate` for generating default.profraw.

contains only calls to external libraries

That's impossible, because those are exactly _not_ profiled.

This may help: https://forum.dlang.org/post/voknxddblrbuywcyf...@forum.dlang.org

-Johan

Reply via email to