[Mono-dev] Building Mono on Linux/Alpha

Sergey Tikhonov tsv at solvo.ru
Wed Feb 22 01:57:04 EST 2006


Zoltan Varga wrote:

>                                              Hi,
>
> You can put it into mono_arch_emit_exceptions ().
>
>                             Zoltan
>  
>
Thanks you.
I hit another blocking issue - inplementation of OP_OUTARG_VT. Different 
arches do it differently.
Is my understanding is correct - that I could pass it on stack for 
simplicity (like ia64 does), but the called
method should expect it on stack too. This kind of parameter is not 
expected to be passed to any natively
compiled methods (by gcc) (because by Alpha ABI upto 6 parameters are 
expected to be passed in registers).
So if the called method is compiled by jit I guess I have control over 
where to look for method parameters.

I got to the point of calling 
System.Runtime.CompilerServices.RuntimeHelpers:InitializeArray(System.Array, 
intptr) and
crashing inside. Is there simpler way to check JIT? :) I am using 
compiled "basic.cs" as start point, but it tries to initialize
part of runtime (I guess) and it is not the simple one.

Thank you,

-- 
Sergey Tikhonov
Solvo Ltd.
tsv at solvo.ru




More information about the Mono-devel-list mailing list