[cfe-dev] How to translate ISA of LLVM dinamically!

Eli Friedman eli.friedman at gmail.com
Tue Jun 30 17:25:07 PDT 2009


On Tue, Jun 30, 2009 at 7:14 AM, zhunan<zhunansjtu at gmail.com> wrote:
> hi,all
>      * I want to translate ISA of LLVM to another kind of ISA one by
>        one,for example,I write a loader which can load ".o" file which
>        is generated by "llvm-gcc abc.c -emit-llvm -c",and then I want
>        to analysis it and translate it to another kind of ISA
>        dinamically!Unforunately,I have not found any binary encoding
>        information about LLVM's ISA,so it's impossible for me to
>        implement it now.
>      *
>      * Who can give me some instructions on it? Thanks!

This is the wrong list; please use llvmdev for questions like this.
Also, please don't quote a bunch of random emails in a new thread.

That said, I guess you're looking for
http://llvm.org/docs/BitCodeFormat.html ?  Although, I'm not entirely
sure what you're trying to do.

-Eli




More information about the cfe-dev mailing list