[LLVMdev] Passing String to an external function in llvm

Abhinash Jain omnia at mailinator.com
Thu Jul 25 10:12:19 PDT 2013


I did some computation through llvm pass, and store those computed values on
string.  eg. :-

stringstream lhs;
lhs << instr->getOperand(1);   //  'instr' is some instruction
string lhsvar=lhs.str();

Now I want to pass this 'lhsvar' to the external function, so how can i do
this???

This is just the part of a code to make you understand. if you say I can
even provide the link to the code.







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



More information about the llvm-dev mailing list