LLAM v3.0.1

Platform support

Edit pageReport a problemLast modified: 03 December 2026

LLAM keeps platform support tied to local kernel contracts and verification paths. Do not infer behavior from another operating system's backend.

On this page

Support matrix

Platform Status Backend Verification
Linux x86_64 Primary io_uring/liburing make verify-linux CC=gcc
Linux aarch64 Supported io_uring/liburing make verify-linux CC=gcc
macOS arm64 Primary macOS path kqueue CC=clang make verify-darwin
macOS x86_64 Supported kqueue CC=clang make verify-darwin
Windows 10/11 x86_64 Supported IOCP native CMake/CTest and scripts/verify_windows.ps1 -Native

Prebuilt macOS archives are built and tested on macOS 26 for ARM64 and macOS 15 for Intel. For other macOS versions, use a source build and validate its deployment target. Native asynchronous qualification remains a separate check.

Recommended compilers are GCC or Clang on Linux, Apple Clang on macOS, and MSVC with MASM or MinGW through CMake on Windows.

Backend notes

Linux uses io_uring for the native async path. macOS uses kqueue for readiness and runtime wakeups, with Darwin-specific scheduler hints kept behind Darwin checks. Windows uses IOCP for overlapped Winsock and HANDLE operations.

Windows TCP POLLIN currently defaults to the cooperative/direct fallback path unless LLAM_WINDOWS_IOCP_TCP_POLLIN=1 is enabled for controlled smoke or benchmark runs.

The ordinary and managed constructors use compiler/image admission and a native probe on all selected Ms before committing asynchronous execution. Their profile matrix is separate from the runtime/backend matrix above:

Native managed profile Evidence and limits
macOS ARM64 Native tests cover ordinary compiler C, peer M restoration with a fresh P, mixed compatibility, affine TLS destruction and refill, dynamic Ps and shutdown.
Linux ARM64 Native tests cover signal mailboxes, LLPM2 ELF image admission, ordinary C and peer M restoration with compatible CPU state.
Linux x86-64 Native CI covers signal frames, register and signal-mask preservation, alternate stacks on peer M restoration, affine lifetime and dynamic Ps. Wider ISA state requires the native probe.
Windows x86-64 Native Windows CI builds the managed producer with MSYS2 UCRT64 LLVM. MinGW and Visual Studio runtimes admit sealed PE images and interrupt poll-free tasks. The shared SDK test exercises peer M restoration with the receiver's CET state preserved. Registered workers, affine FLS cleanup and shutdown have separate tests.
macOS x86-64 Native Intel CI admits compiler-generated Mach-O, interrupts poll-free tasks, and verifies exact results and drain after peer M restoration. The worker probe requires native Intel hardware with supported FP, AVX and mitigation state.

Linux x86-64 and ARM64, macOS Intel and ARM64, and Windows x86-64 builds with MinGW or Visual Studio include the native backend by default. LLAM_EXPERIMENTAL_ASYNC_PREEMPT=OFF disables it. Each runtime still probes its native workers. Unknown ISA, mitigation, TLS, signal or context state is refused before capture.

ARM64 native CI uses macOS 26 and its SDK so the Mach SME state query is available. Older SDKs that omit ARM_SME_STATE, or hosts whose extended state cannot be qualified, return ENOTSUP for native capture. Explicit *_compat constructors retain their boundary/safepoint behavior on those hosts; default constructors refuse the unsupported profile.

Mach capture retains the native thread's SSBS policy bit; a restore refuses a policy change before mutating the thread. Linux ARM64 preserves FPSIMD and the complete inline, non-streaming SVE payload when present. The fresh frame must have the same vector length. Records outside the inline frame, streaming SVE, SME, and unknown records continue to defer capture. Linux x86-64 retains PKRU in the full kernel XSAVE payload when capture matches the startup baseline. A peer must share that baseline. Callbacks, signal handlers and other code must preserve the native policies while continuations are saved.

Linux x86-64 checks the kernel's shadow-stack status on each native worker. Compiler CET instrumentation alone does not imply that shadow stacks are active; an active or unknown protection status is refused without disabling protection.

The default constructors require a qualified asynchronous profile and reject unsupported profiles. Explicit *_compat constructors retain boundary/safepoint preemption. The expert Windows caller-certified-range API remains available with its separate process-wide fail-fast acknowledgement; it does not qualify arbitrary C or JIT mappings. See the managed C guide and build guide for the distinct contracts and verification commands.

Clang ASan and TSan use compiler-rt's fiber interfaces on qualified Linux and macOS profiles. Build LLAM and the application with the same sanitizer. On Linux, LLAM registers its reserved preemption signal through libc to retain the kernel signal frame. Application signal handlers retain the sanitizer's ordinary interception. A build without the fiber API or the required native worker profile refuses asynchronous admission. See the managed C guide for the instrumented producer and cooperative diagnostic options.

BSD retirement

FreeBSD, OpenBSD, NetBSD and DragonFly BSD are unsupported from 3.0.0. CMake, Make, public platform headers, the installer and release packaging reject these targets. BSD implementation code, native context fixtures, CI and release artifacts have been retired. The macOS kqueue backend and its SDK availability checks remain supported. Legacy public BSD feature macros are constant 0 for source compatibility; they cannot enable a retired backend. The managed producer and LLVM passes also reject BSD target triples, including header-free task inputs.

Use versioned 2.x sources, headers, documentation and installers for an existing BSD deployment; the 3.0 installer does not install legacy BSD archives. This does not promise continued 2.x maintenance. Earlier implementations remain available in versioned source history. Historical experiment reports and measurement artifacts do not qualify 3.0.

↑↓ Navigate↵ Openesc CloseSearching the 3.0.1 docs