[Mono-bugs] [Bug 78973][Wis] Changed - Vararg pinvoke calls do not pop variable args

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 7 06:48:40 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by roberto.costa at st.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78973

--- shadow/78973	2006-08-02 10:29:58.000000000 -0400
+++ shadow/78973.tmp.6863	2006-08-07 06:48:40.000000000 -0400
@@ -58,6 +58,19 @@
 ie.
 printf (int8* arg, int i)
 printf (int8* arg, double d)
 
 etc.
 
+
+------- Additional Comments From roberto.costa at st.com  2006-08-07 06:48 -------
+After further investigation, it looks that vararg calls to pinvoke
+functions are supported only for a restricted set of architectures
+(only amd64, at least in version 1.1.16.1).
+
+However, this is a needed to allow CIL code to call functions
+implemented in native libraries, i.e. glibc, which has a lot of vararg
+functions, many of them very frequently used.
+
+Are there specific issues that make implementing this feature difficult?
+Is there any plan to add it for all the architectures?
+


More information about the mono-bugs mailing list