rt.deh_win64_posix

Written in the D programming language. Implementation of exception handling support routines for Posix and Win64.

Members

Functions

__eh_find_caller
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

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

_d_eh_swapContext
void* _d_eh_swapContext(void* newContext)

__inflight is per-stack, not per-thread, and as such needs to be swapped out on fiber context switches.

_d_throwc
void _d_throwc(Throwable h)

Throw a D object.

Meta

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Authors

Walter Bright, Sean Kelly

Suggestion Box / Bug Report