Upstream recently successfuly converted macros to static inline functions. This inspired me to try it too and convert the macro HANDLE_UNWINDING to a static inline function. I checked the assembly code of an -O3 build. The function gets properly in-lined.
The benefit is better maintainability. With this change, it is possible to single step through this code or set breakpoints.
Upstream recently successfuly converted macros to static inline functions. This inspired me to try it too and convert the macro HANDLE_UNWINDING to a static inline function. I checked the assembly code of an -O3 build. The function gets properly in-lined.
The benefit is better maintainability. With this change, it is possible to single step through this code or set breakpoints.