[LLVMdev] MSIL backend

Chris Lattner sabre at nondot.org
Thu Mar 22 17:09:49 PDT 2007


On Thu, 22 Mar 2007, Jeff Cohen wrote:
> The problem is worse than I thought.
>
> MSIL, and .NET in general, defines a specific object model.  This object
> model is explicitly part of MSIL semantics.  LLVM is at a lower level;
> it does not have an object model.  To do a virtual call, LLVM
> instructions must be generated to load a function pointer from a vtable

Unlike Java, MSIL support 'unsafe' operations, which include fully general 
pointer arithmetic, casting, etc.  In this mode, you don't need to use its 
support for object models at all,

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list