[LLVMdev] Passing String to an external function in llvm

Abhinash Jain omnia at mailinator.com
Thu Jul 25 09:07:17 PDT 2013


Hi All,

On my llvm pass I have some variable named "expr" which is being declared as
:-
string expr;      // or  char  *expr; //

Now I want to pass this "expr" to some external function.
How can I do this??

Similarly, How can I pass variable "var" to an external function which is
being decalred as :-
Vector<int> var;

Any help will be appreciated.............. 



--
View this message in context: http://llvm.1065342.n5.nabble.com/Passing-String-to-an-external-function-in-llvm-tp59798.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.



More information about the llvm-dev mailing list