[Mono-dev] How to convert CIL code to LLVM IR

Hucheng Zhou zhou.hucheng at gmail.com
Wed Dec 28 21:58:54 EST 2011


Hi:

  I was wondering how to convert CIL bytecode to LLVM IR? Is there existing
way?
  I was told that ahead-of-time compilation could handle with it, but how?

Quote:
"It is possible to use LLVM in AOT mode. This is implemented by compiling
methods using LLVM instead of the JIT, saving the resulting LLVM bytecode
into an LLVM .bc file, compiling it using LLVM tools into a .s file, then
appending our own AOT data structures to that file."

Thanks in advance.

-- 
cheers~!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20111229/93e7d0cd/attachment.html 


More information about the Mono-devel-list mailing list