[LLVMdev] Using instrumentation library

John Criswell criswell at cs.uiuc.edu
Mon Dec 20 12:23:38 PST 2004

Sriraman Tallam wrote:
> Hi,
> 	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.  ?

I believe you can use lli's -load option to load the libprofile_rt.so 
library.  That library should be built in $OBJ_ROOT/Debug/lib, where 
$OBJ_ROOT is the directory in which you built LLVM.

-- John T.

> Thanks
> -Sriraman.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list