Is there a llvm java front end that converts java source to llvm's intermediate form?

后端 未结 4 2088
清歌不尽
清歌不尽 2020-12-13 08:35

From what I\'ve read, there is a llvm program that converts java bytecode to llvm\'s intermediate form called class2llvm. My question is, how do I access this. What front en

4条回答
  •  一向
    一向 (楼主)
    2020-12-13 09:02

    You may take a look at dragonegg, which enables llvm to use gcc's frontends. As gcc already has a frontend for java, called gcj, perhaps llvm can use it to compile java code. But I'm not sure how well llvm interfaces with the gcc frontend, so this may not work.

提交回复
热议问题