sun::driver::jit

sun::driver::jit

namespace · Source (opens in a new tab)

Provides services used only while loading or executing JIT-generated code.

Registers and eagerly indexes metadata used exclusively by the in-process JIT.

Registers native metadata for code executed in the compiler's process.

Functions

addUnwindRegistration

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

void sun::driver::jit::addUnwindRegistration(llvm::orc::ObjectLinkingLayer &layer, llvm::orc::ExecutionSession &session)

Adds unwind registration, eager indexing, and module-local personality cells.

The layer owns registration state and removes it before unmapping its code. This compiler-side service is not part of the generated program's runtime.