Report a bugIf you spot a problem with this page, click here to create a Bugzilla issue.
Improve this pageQuickly fork, edit online, and submit a pull request for this page.Requires a signed-in GitHub account. This works well for small changes.If you'd like to make larger changes you may want to consider usinga local clone.
rt.deh_win64_posix
Implementation of exception handling support routines for Win64.
Note that this code also support POSIX, however since v2.070.0, DWARF exception handling is used instead when possible, as it provides better compatibility with C++.
Authors:Walter Bright, Sean Kelly
immutable(FuncTable)*
__eh_finddata(void*
address);
Given address that is inside a function, figure out which function it is in. Return DHandlerTable if there is one, NULL if not.
size_t
__eh_find_caller(size_t
regbp, size_t*
pretaddr);
Given EBP, find return address to caller, and caller's EBP.
Inputregbp Value of EBP for current function *pretaddr Return address
Output*pretaddr return address to caller
void
_d_throwc(Throwable
h);
Throw a D object.