sun::abi::exceptions

sun::abi::exceptions

namespace · Source (opens in a new tab)

Defines the bounded exception ABI shared by LLVM lowering and native helpers.

Describes the initial exception ABI on supported 64-bit targets.

Functions

threadStateSizeForDepth

public · function · Source (opens in a new tab)

std::size_t sun::abi::exceptions::threadStateSizeForDepth(std::size_t depth)

Reserves the thread-state header followed by its aligned base record.

valueSizeForDepth

public · function · Source (opens in a new tab)

std::size_t sun::abi::exceptions::valueSizeForDepth(std::size_t depth)

Computes the aligned value size after the caller validates the depth.

Variables

alignment

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::alignment = 16

No documentation comment.

defaultTraceDepth

public · variable · Source (opens in a new tab)

unsigned sun::abi::exceptions::defaultTraceDepth = 16

No documentation comment.

maximumTraceDepth

public · variable · Source (opens in a new tab)

unsigned sun::abi::exceptions::maximumTraceDepth = 256

No documentation comment.

payloadCapacity

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::payloadCapacity = 128

No documentation comment.

payloadOffset

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::payloadOffset = 16

No documentation comment.

recordSize

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::recordSize = unwindHeaderSize + valueSize

No documentation comment.

Related: unwindHeaderSize, valueSize

traceFramesOffset

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::traceFramesOffset = traceOffset + 16

No documentation comment.

Related: traceOffset

traceOffset

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::traceOffset = payloadOffset + payloadCapacity

No documentation comment.

Related: payloadOffset, payloadCapacity

traceStatusOffset

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::traceStatusOffset = traceOffset + 8

No documentation comment.

Related: traceOffset

unwindHeaderSize

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::unwindHeaderSize = 32

No documentation comment.

valueSize

public · variable · Source (opens in a new tab)

std::size_t sun::abi::exceptions::valueSize = valueSizeForDepth(defaultTraceDepth)

No documentation comment.

Related: valueSizeForDepth, defaultTraceDepth