<div dir="ltr"><div><div><div><div><div><div>Hi llvm-dev<br><br></div>I am trying to read up some C++ code from a file into a string and then compile it into some module/function and then invoke the same - all via API. <br><br></div>Kind of JIT compilation if you will. <br><br></div>I have something similar from <a href="http://thinkingeek.com/2016/01/17/tiny-gcc-front-part-6/">http://thinkingeek.com/2016/01/17/tiny-gcc-front-part-6/</a> that's kind of going this for C. <br><br></div>I am reasonably familiar with LLVM backend and its API, what's unclear is how do I parse the front end C++ and map it to LLVM data structures. I am sure someone has already solved this problem/done enough work for JIT. Any help appreciated.<br><br></div>Thanks<br></div>  Arpan<br></div>