Displaying 2 results from an estimated 2 matches for "llvm_start_func_profil".
2004 Dec 20
2
[LLVMdev] Using instrumentation library
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.
2004 Oct 19
1
[LLVMdev] Re:question about Insert callInst to call a function in library
Thanks Chris, but the method you mentioned is not what I want. Maybe I didn't make it clear.
As you said, /runtime/libprofile is runtime library for the following function.
llvm_start_func_profiling
llvm_start_block_profiling
llvm_start_basic_block_tracing
llvm_trace_basic_block
And those above functions can be inserted into basic block etc for getting profile. However, those functions are wroten by C/C++ which just statistic some data.
What I want is to write a Pass in extern...