[Mono-bugs] [Bug 386415] [PATCH] Implementation of mono_method_get_unmanaged_thunk
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun May 4 17:29:39 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=386415
User robertj at gmx.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=386415#c14
--- Comment #14 from Robert Jordan <robertj at gmx.net> 2008-05-04 15:29:39 MST ---
BTW, mono_runtime_invoke () has the same alignment issue but users are able to
fix their structs because unlike thunk-invoke, runtime-invoke wrappers do not
have pinvoke signatures.
Introducing a new wrapper type and using it in mini-<platform>.c is too ugly at
a second glance.
But how about a new MonoMethodSignature.native_call bit?
I think we could borrow it from the unused ref_count field.
Whenever pinvoke & native_call are set, the JIT code generation must take care
to generate ABI compatible frames with mono compatible alignments.
In mini-x86.c, there were only 3 places to change if we had this bit, see
patch.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list