I am writing an LLVM2.9 Function pass that inserts an instruction calling an external function that accepts a c string as an argument.
The c string that I want passed to the external function is generated at the beginning of the function pass.
Generally to pass values to the external function, I simply add their type to the CallInst argument list, and then insert the specific value I want when I actually create the CallInst. I am finding this difficult to do with a string.
Any tips?