How is the C++ exception handling runtime implemented?

后端 未结 4 859
梦毁少年i
梦毁少年i 2020-11-28 21:54

I am intrigued by how the C++ exception handling mechanism works. Specifically, where is the exception object stored and how does it propagate through several scopes until i

4条回答
  •  被撕碎了的回忆
    2020-11-28 22:26

    I know this is an old question, but there's a very good exposition, explaining both the methods used in each of gcc and VC here: http://www.hexblog.com/wp-content/uploads/2012/06/Recon-2012-Skochinsky-Compiler-Internals.pdf

提交回复
热议问题