是否有一个llvm java前端将java源转换为llvm的中间形式? [英] Is there a llvm java front end that converts java source to llvm's intermediate form?

查看:1597
本文介绍了是否有一个llvm java前端将java源转换为llvm的中间形式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我的阅读,有一个llvm程序将java字节码转换为llvm的中间形式,称为class2llvm。我的问题是,我该如何访问它。我必须安装什么前端才能访问它。

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 end do I have to install in order to access this.

VMkit是他们的JVM实现,但我正在寻找如何使用llvm编译java源代码,而不是如何运行它。

VMkit is their implementation of a JVM, but I am looking for how to compile the java source code with llvm, not how to run it.

推荐答案

Java前端将Java字节码(.class文件)转换为LLVM
字节码。看一下这个链接:

The Java frontend translates Java bytecode (.class files) into LLVM bytecode. Take a look at this link:

https://llvm.org/svn/llvm-project/java/trunk/docs/java-frontend.txt

这篇关于是否有一个llvm java前端将java源转换为llvm的中间形式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆