[LLVMdev] Using instrumentation library

Misha Brukman brukman at uiuc.edu
Mon Dec 20 12:23:10 PST 2004


On Mon, Dec 20, 2004 at 01:15:47PM -0700, Sriraman Tallam wrote:
>	i ran the insert-function-profiling pass on my bytecode and when i jit
>	it, i get ' cant resolve 'llvm_start_func_profiling'. How do I link
>	the "instrument" library.  ?

That's in llvm/runtime/libprofile, if you build it, it should become
libprofile_rt.so in the appropriate build dir, link that with your
executable.

-- 
Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu




More information about the llvm-dev mailing list