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. ? Thanks -Sriraman.
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
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
Possibly Parallel Threads
- [RFC] Propeller: A frame work for Post Link Optimizations
- [RFC] Propeller: A frame work for Post Link Optimizations
- [RFC] Propeller: A frame work for Post Link Optimizations
- [RFC] Propeller: A frame work for Post Link Optimizations
- [RFC] Propeller: A frame work for Post Link Optimizations