[Mono-dev] llvm & jit

Stack Pointer stackpointer at me.com
Fri Aug 3 18:12:19 UTC 2012


I want to understand the details of how llvm is used as the backend in mono. I've been going through the code in mono/mono/mini and here's what I understand:

1. I need mono's llvm branch from github.com/mono/llvm/mono for this to work. The llvm that comes with say, OSX 10.8 won't work?

2. llvm only really works in aot mode. The code generated from llvm can't be pushed back in the code cache for dynamic jit. Is this limitation from mono or llvm?

What data structure in mono/mono/mini represents the code cache? If I wanted to push something to that and test how it behaves?

Thanks!


More information about the Mono-devel-list mailing list