Re:On libunwind and dynamically generated code on x86-64
by kaushiks on Tuesday April 12, 2016 @03:28AM
(#11477799)
While RtlInstallFunctionTable callback was designed specifically for JIT compilers, RtlAddFunctionTable may also be used. The trick is to give every function its own function table. I wrote Chakra's P/XData handler and was surprised to find that they still haven't switched to function table callbacks [1], like the CLR has.
[1] https://github.com/Microsoft/ChakraCore/blob/7587147fac16654...