[Mono-dev] Inspecting x86 assembly

Konrad M. Kruczyński kkruczynski at antmicro.com
Fri Nov 16 10:41:13 UTC 2012


Hi again,
forgot to cc previous mail to the list and maybe someone will find it
useful too. mono -v -v can be used to obtain assembly.

Btw, AOT output can not necessarily be the same.

On Fri, 2012-11-16 at 21:37 +1100, Daniel Lo Nigro wrote:
> You can use Ahead of Time compilation to generate a .so file with
> native code. Is this what you're looking for?
> 
> 
> http://www.mono-project.com/AOT
> 
> 
> 
> On Fri, Nov 16, 2012 at 7:15 PM, Stack Pointer <stackpointer at me.com>
> wrote:
>         I want to inspect the x86 assembly that mono generates from
>         my .exe. Mostly for specific functions. How do I achieve this?
>         
>         $ mono --help-devel
>         
>         tells me that I could compile a method and generate assembly
>         for it. How should I be using it? If I do:
>         $ mono --ncompile 1 --compile METHODNAME EXENAME EXEOPTIONS
>         
>         I get an error saying:
>         Usage: mini --ncompile num --compile method assembly
>         
>         How do you guys inspect the generated assembly while
>         developing? Is there some other internal option that enables
>         that?
>         
>         Thanks,
>         Vrajesh
>         _______________________________________________
>         Mono-devel-list mailing list
>         Mono-devel-list at lists.ximian.com
>         http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list