View source code
Display the source code in rt/dwarfeh.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly 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 using local clone.

Function rt.dwarfeh.actionTableLookup

Look up classType in Action Table.

int actionTableLookup (
  core.internal.backtrace.unwind._Unwind_Exception* exceptionObject,
  uint actionRecordPtr,
  const(ubyte)* pActionTable,
  const(ubyte)* tt,
  ubyte TType,
  ulong exceptionClass,
  const(ubyte)* lsda
);

Parameters

NameDescription
exceptionObject language specific exception information
actionRecordPtr starting index in Action Table + 1
pActionTable pointer to start of Action Table
tt pointer past end of Type Table
TType encoding of entries in Type Table
exceptionClass which language threw the exception
lsda pointer to LSDA table

Returns

- >=1 means the handler index of the classType - 0 means classType is not in the Action Table - <0 means corrupt

Authors

Walter Bright

License

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