3 ms·
You can do that by having several different trampolines for the merged code that stash away a unique cookie on the stack to distinguish which function the code
by int_19h 2y ago
You can do that by having several different trampolines for the merged code that stash away a unique cookie on the stack to distinguish which function the code is currently executing. This is not zero-overhead, of course, but one can argue that the slight overhead is worth it given better error reporting and increased debuggability.