On Thu, 2014-01-09 at 22:34 +0000, Jun Yuan wrote:
> Hello,
>
> I am using the function wrappers to profile some funcs in my app and I
> realized in the valgrind.h the max argument words macro CALL_FN_v_...
> supports is 7 words, instead of 12 words that CALL_FN_W_... is up to. Is
> there any reason why CALL_FN_v can not support more than 7 words? is it free
> to extend valgrind.h to support more argus?
I see no specific reason for which CALL_FN_v with more args could not be
done. These are probably not done because nobody needed them.
Revision 9919 added a few of such macros:
r9919 | njn | 2009-05-19 03:24:50 +0200 (Tue, 19 May 2009) | 3 lines
Add some extra CALL_FN_V_* macros. Copied from the DARWIN branch.
Philippe
|