On Saturday, 11 May 2019 at 05:46:29 UTC, Denis Feklushkin wrote:

All another calls is made inside of this lambda - maybe lambdas is not traced by profiler?

Tried to remove lambda with same result.

Command:

llvm-profdata show -all-functions -topn=100000 default.profdata

returns huge amount of std*, core*, vibe* calls - it is all used in my code. But here is no one my own function (except "main").

Also I changed flags to "dflags-ldc": ["-fprofile-instr-generate", "-O0"] - second flag disables optimisation (I assumed that optimizations magically completely remove calls to my functions. But this is probably not the case.)

Reply via email to