[vmkit-commits] Problems to generate executable code

Alysson aishofpf at gmail.com
Sun Jul 4 19:49:51 PDT 2010


 Hi all,
I´ve been working on a LLVM transformation pass which performs the remotion
of some Java redundant instructions.
So now it´s finished I´d like to run the optimized programs generated by
mypass.
But I´ve got some problems to do this, because I didn´t find a way to
generate executable code from my output's pass.
I'm using VMKit to compile java programs, and then I input the generated .bc
code into my llvm pass.

Here are what I'm doing:
javac Example.java
vmjc Example
opt -load MyPass.so -myLLVMpass Example.bc -o output.bc

Please, does anybody know how to generate executable code from an .bc file?
Can VMKit do it?

Thanks you all!
Best regards,
Alysson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100704/0812cd82/attachment.html>


More information about the vmkit-commits mailing list