Displaying 1 result from an estimated 1 matches for "getintptr32ty".
2013 Sep 20
0
[LLVMdev] Passing Arguments to External Function Call in llvm pass
...ect.push_back(getoperand(0)) . So on.
Now How can I pass this vector to the external foo(int, ...) function???
What should I use to declare the foo function in my pass (so that it works
fine on both 32-bit and 64-bit system)-
Type::getInt32Ty(*Context) or
Type::getInt64Ty(*Context) or
Type::getIntPtr32Ty(*Context) or
Type::getInt64Ty(*Context). etc.
--
View this message in context: http://llvm.1065342.n5.nabble.com/Passing-Arguments-to-External-Function-Call-in-llvm-pass-tp61367.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.