[Mono-list] AOT Compiling a .NET assembly

MrUnleaded mrunleaded at gmail.com
Sun Jun 20 13:17:00 EDT 2010


Any idea how to correlate the AOT compiled methods to the methods in the
metadata?

On Wed, Jun 2, 2010 at 8:49 PM, Christopher David Howie
<me at chrishowie.com>wrote:

> On 06/02/2010 10:10 PM, MrUnleaded wrote:
> > I know that mono has somethings to do AOT compilation and I was curious
> > as to how/where in the PE/CLI structure any native code is put and if
> > there is some documentation on that anywhere.
>
> AOT code is put into a file whose name is the same as the assembly, with
> .so added to the end.  This file is understood only by Mono; the .NET
> runtime will not use it.
>
> > I would imagine it would have some relation to the ManagedNativeHeader
> > that is referenced in ECMA335 on page 179 but I haven't been able to
> > find anything on it other then that DataDirectory/RVA is always 0.
>
> This is for native code compiled into the assembly, which I think is
> used primarily by Managed C++.
>
> --
> Chris Howie
> http://www.chrishowie.com
> http://en.wikipedia.org/wiki/User:Crazycomputers
>
> If you correspond with me on a regular basis, please read this document:
> http://www.chrishowie.com/email-preferences/
>
> PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5
>
> ------------------------------------------------------------------------
>                    IMPORTANT INFORMATION/DISCLAIMER
>
> This document should be read only by those persons to whom it is
> addressed.  If you have received this message it was obviously addressed
> to you and therefore you can read it.
>
> Additionally, by sending an email to ANY of my addresses you are
> agreeing that I am, by definition, "the intended recipient," and that I
> may do whatever I wish with the contents of any message you send me,
> unless a pre-existing agreement prohibits me from so doing.
>
> This overrides any disclaimer or statement of confidentiality that may
> be included on your message.
>



-- 
Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20100620/00992cc4/attachment.html 


More information about the Mono-list mailing list