[LLVMdev] Using instrumentation library
criswell at cs.uiuc.edu
Mon Dec 20 12:23:38 PST 2004
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. ?
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.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev