Re-generating source code from LLVM parsing tree?

I am curious if there are any projects out there that can take the LLVM parsing tree and regenerate the source code. I especially think about C / C ++.

+4
source share
1 answer

If "LLVM Parse Tree" is an AST from clang

Yes, you can restore the source from clang AST. Some links:

" LLVM" LLVM IR

LLVM IR. , "back back" LLVM 3.1.

C LLVM IR:

+10

Source: https://habr.com/ru/post/1538089/


All Articles