On 01/20/11 12:54, Roman Divacky wrote:
ok, I sat down and implemented what Hans Ottevanger told me to do :)

         http://lev.vlakno.cz/~rdivacky/clang-gprof.patch

This patch does three things:

1) emits "call .mcount" at the begining of every function body

It's not always called .mcount. See /sys/$ARCH/include/profile.h
-Nathan
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to