second-state / SOLL

SOLL is a new compiler for generate Ewasm from solidity and yul. See a demo here: https://asciinema.org/a/ezJqNLicn5fya02zwu4VXIo8a
https://www.secondstate.io/
378 stars 24 forks source link

Can this tool convey solidity to LLVM IR? #94

Closed TheKingShun closed 3 years ago

TheKingShun commented 3 years ago

can this tool convey solidity to LLVM IR?
HOW?

hydai commented 3 years ago

Yes. You can use EmitLLVM option to generate .ll file.

https://github.com/second-state/SOLL/blob/3afc5f3b26f31c89839d0acf84f604a8f428a02f/include/soll/Frontend/FrontendOptions.h#L21

TheKingShun commented 3 years ago

@hydai Thx!!!!!!!! I did it