Is there mcount support in rustc
?
Many profiling tools such as gprof
and uftrace
require mcount function. An user can use -pg
option to add a mcount function call at the entry of each function in gcc
or clang
compiler.
Is there similar way to get same effect of using -pg
option?