[LLVMdev] How to use profiling runtime for program profiling?
hehaifeng2nd at gmail.com
Tue Jan 29 22:46:37 PST 2008
I have a question about how to profile program with LLVM. When I tried
to compile the
instrumented version of program after using "-insert-block-profiling", I got
" undefined reference to `llvm_start_block_profiling'.
I found that there is a "runtime"directory in llvm source directory
but in the Makefile, it said
llvm gcc 4 and above already included the libraries. I was using llvm
gcc 4. Why would I
still get the error?
More information about the llvm-dev