4 ms·
It's worth pointing out that you can in fact forward function calls using GCC builtins, although not in clang without adding some assembly. To quote the API do
by arcticbull 8y ago
It's worth pointing out that you can in fact forward function calls using GCC builtins, although not in clang without adding some assembly.
To quote the API documentation on Constructing Function Calls: "Using [built-in functions], you can record the arguments a function received, and call another function with the same arguments, without knowing the number or types of the arguments." [1]
[1] http://gcc.gnu.org/onlinedocs/gcc/Constructing-Calls.html http://gcc.gnu.org/onlinedocs/gcc/Constructing-Calls.html