title: How to invoke LLVM code from a c++ program and pass data to it
body: <p>I have a c++ program which can generate LLVM IR at runtime. Now I want to compile this IR into a binary from my c++ program and invoke the binary. Also before invoking I want to pass data from my c++ program to the generated binary. I am new to LLVM and I couldnt find any documentation regarding this. Could someone point to a documentation about this or let me know how this can be done.</p>