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++.

License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Walter Bright, Sean Kelly
Source
rt/deh_win64_posix.d
See Also:
https://docs.microsoft.com/en-us/cpp/build/exception-handling-x64?view=vs-2019
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.

Input
regbp Value of EBP for current function *pretaddr Return address
Output
*pretaddr return address to caller
Returns:
caller's EBP
void _d_throwc(Throwable h);

Throw a D object.

© 1999–2021 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/rt_deh_win64_posix.html