search for: td10506

Displaying 1 result from an estimated 1 matches for "td10506".

Did you mean: 10506
2012 Dec 26
1
[LLVMdev] Using argument in another module
Hi everyone, I am building a function that would call a function in another module, I found this related thread http://llvm.1065342.n5.nabble.com/Using-a-function-from-another-module-td10506.html All my functions have prototype int f(myStruct * c); here comes my problems If I have Function* f1,*f2 f2 is in another module, f1 is the function I am building. Somewhere in f1 , I set builder.CreateCall(f2,f1->arg_begin()); // builder is IRBuilder, its context is the...