search for: instrment

Displaying 2 results from an estimated 2 matches for "instrment".

Did you mean: instrument
2012 Apr 09
2
[LLVMdev] Problem on instrumentation
Hi, I am instrumenting a piece of code. I want to insert a function call at the interested area, and do something in the called function which is written by myself. I have succeed on implementing the pass, and getting the instrmented code. However, I am not sure where to put this function, and what kind of linkage I should use for this function. Currently I use External linkage which is implemented as following: LLVMContext& context=M.getContext();FunctionType* FT=FunctionType::get(Type::getInt32Ty(context),false);Functio...
2012 Apr 09
0
[LLVMdev] Problem on instrumentation
...12-04-09 11:27:26,Zhoujinguo <zhoujinguo1988 at yahoo.cn> wrote: | Hi, I am instrumenting a piece of code. I want to insert a function call at the interested area, and do something in the called function which is written by myself. I have succeed on implementing the pass, and getting the instrmented code. However, I am not sure where to put this function, and what kind of linkage I should use for this function. Currently I use External linkage which is implemented as following: LLVMContext& context=M.getContext(); FunctionType* FT=FunctionType::get(Type::getInt32Ty(context),false); F...