-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some quesion about aot-interp mix execute mode on ios #97610
Comments
and this lines set runtime/src/mono/mono/mini/aot-compiler.c Lines 14984 to 15003 in 91beecd
|
I have try to use
and use
it will generate System.Private.CoreLib.dll.a success,
|
this is the |
and if replace aot mode with
it don't generate the |
@vargaz @BrzVlad could you have time to help? we want to use aot generic method such as for example // game.dll
class GameLogic
{
public void Test()
{
Dictionary<int, int> a = new Dictionary<int, int>();
a.Add(1, 2);
}
} I want to use interp mode to excecute game.dll and aot the how can I make it work? |
I would first try to get things going without llvm, it might be a bit easier. The important flags to use are |
yes, if not use llvm, it can work, but the generic method can't use aot method because it will skip by runtime/src/mono/mono/mini/interp/interp.c Line 8641 in c987e4f
this line said the generic method only work in llvmonly |
I see, it seems that we haven't yet implemented passing of the generic context in the non-llvmonly case, when transitioning from interpreter. I'm not really familiar with running in llvmonly mode, but I would have assumed that passing similarly the |
yes, I have try it, there are many runtime/src/mono/mono/mini/interp/interp.c Line 8641 in c987e4f
but I will crash
I don't know what wrong with it. |
@vargaz may you give me some help? |
I found in
interp_jit_call_can_be_supported
methodruntime/src/mono/mono/mini/interp/interp.c
Line 8641 in c987e4f
the generic method only support aot in llvmonly?
we want to use aot-interp mode, full aot
System.Private.CoreLib.dll
, and useinterp
for our code.MONO_AOT_MODE_INTERP
will not enable llvmonly ?how can I did it?
@vargaz @BrzVlad
The text was updated successfully, but these errors were encountered: