Displaying 2 results from an estimated 2 matches for "myfunctioncall".
2012 Apr 09
2
[LLVMdev] Problem on instrumentation
...n, 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);Function* F=Function::Create(FT,Function::ExternalLinkage,"myFunctionCall",&M);
Is it OK? And also, where should I put the function "int myFunctionCall()"?
Thank you very much. I am expecting for your reply.
RegardsAndy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachmen...
2012 Apr 09
0
[LLVMdev] Problem on instrumentation
...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);
Function* F=Function::Create(FT,Function::ExternalLinkage,"myFunctionCall",&M);
Is it OK? And also, where should I put the function "int myFunctionCall()"?
Thank you very much. I am expecting for your reply.
Regards
Andy
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/...