[LLVMdev] profiling with llvm-gcc4?
Chris Lattner
sabre at nondot.org
Mon Sep 10 11:55:06 PDT 2007
On Mon, 10 Sep 2007, Jose M. Moya wrote:
> How can I do function profiling and BB profiling with current llvm and
> llvm-gcc4?
>
> runtime/libprofile is disabled when using llvm-gcc4, but... is there any
> alternative to linking with libprofile_rt.so?
>
> How can I use llvm-prof? is utils/profile.pl obsolete?
The profiling support in LLVM hasn't been used for quite a while, so it
may have bitrotted slightly. However, the support should basically work,
so it shouldn't take much to bring it back to life.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list