Microsoft-specific exception handling mechanisms: Difference between revisions

Content deleted Content added
m Enum 1 author/editor WL; WP:GenFixes on
Luke1337 (talk | contribs)
x86-64: clarify SEH impl. explanation
Line 18:
 
==== x86-64 ====
SEH on 64-bit Windows isdoes simpler,not asinvolve ita onlyruntime involvesexception usinghandler list; instead, it uses a [[Call stack#Unwinding|stack unwinding]] table instead(<code>UNWIND_INFO</code>) ofinterpreted havingby the compilersystem generatewhen codean exception occurs.<ref>{{cite web |title=Exceptional Behavior - x64 Structured Exception Handling |url=https://www.osronline.com/article.cfm%5earticle=469.htm |publisher=The NT Insider}}</ref><ref>{{cite web |title=x64 exception handling |url=https://docs.microsoft.com/en-us/cpp/build/exception-handling-x64?view=vs-2019 |website=VC++ 2019 documentation |language=en-us}}</ref>
This means that the compiler does not have to generate extra code to perform stack unwinding and to call exception handlers appropriately. It merely has to emit information in the form of unwinding tables about the stack frame layout and which exception handler to be called.
 
=== Support ===