5 /* The simplest possible wrapping test: just call a wrapped function
6 and check we run the wrapper instead. Except: the wrapped
7 function is in a different shared object. This causes some
8 additional complications on ppc64-linux, hence another test. */
10 extern void actual ( void );
12 /* The wrapper. The function being wrapped is in a .so with soname
14 void I_WRAP_SONAME_FNNAME_ZU(wrap7soZdso
,actual
) ( void )
17 VALGRIND_GET_ORIG_FN(fn
);
18 printf("wrapper-pre\n");
20 printf("wrapper-post\n");