[Mono-dev] [PATCH] Use trampolines for vtable fixups (Windows)

Kornél Pál kornelpal at gmail.com
Sun Nov 1 11:24:14 EST 2009


Please see the attached patch that is a separated and improved version
of the prevously submitted patch.

ChangeLog draft:
mono_image_fixup_vtable is now called only when the image is loaded and
creates trampolines rather than pointers to wrapper functions.

A new trampoline type MONO_TRAMPOLINE_VTFIXUP is added that is created
by mono_image_fixup_vtable, and is replacing the pointer to the
trampoline with the result mono_marshal_get_vtfixup_ftnptr.

Please review and if you like it, approve the patch.

Thanks.

Kornél







-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mono_vtfixup_tramp.diff.txt
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20091101/42a6b159/attachment-0001.txt 


More information about the Mono-devel-list mailing list