C++ exception

2020-07-21  本文已影响0人  滩主

__cxa_throw

The function doing all the throw-magic! According to the ABI reference, once the exception has been created __cxa_throw will be called. This function will be responsible of starting the stack unwinding. An important effect of this: __cxa_throw is never supposed to return. It either delegates execution to the correct catch block to handle the exception or calls (by default) std::terminate, but it never ever returns.

image.png

https://www.cnblogs.com/catch/p/3604516.html

上一篇下一篇

猜你喜欢

热点阅读