Patch: Expose clang CodeGen to python bindings

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Patch: Expose clang CodeGen to python bindings

Tom Stellard via cfe-dev
Hi all,

I am currently working on a project that requires me to compile C to LLVM IR in python entirely. I looked at the source code for libclang but the process stops at generating the AST. After some more research, I realize that the lib/CodeGen process is not yet exposed and I would like to write a patch to expose the code generation. Can anyone offer me guidance as to what piece of code in the CodeGen file I should look at?

Thanks!
Brenda

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev