ZXFoundation™ 26h2
Loading...
Searching...
No Matches
cxxabi.cxxm File Reference

minimal cxxabi implementation More...

import arch.s390x.cpu.sync;
import lib.static_vector;
import arch.s390x.cpu.clock;
import arch.s390x.cpu.processor;
import zxfoundation.sync.qspinlock.core;
import zxfoundation.sys.printk.core;
import zxfoundation.sys.syschk.core;
import lib.stl;
import lib.error;
import zxfoundation.base.types;
Include dependency graph for cxxabi.cxxm:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 declscope (C)
template<typename... Args>
auto pinfo (std::string_view fmt, Args &&... args) noexcept -> void
void zxfoundation::base::cxxrtse::cxxabi::run_fini_array () noexcept
void zxfoundation::base::cxxrtse::cxxabi::run_global_constructor () noexcept
void zxfoundation::base::cxxrtse::cxxabi::run_global_destructors () noexcept
void zxfoundation::base::cxxrtse::cxxabi::ssp_init () noexcept
 Install the kernel-wide stack-protector guard entropy.
auto zxfoundation::base::cxxrtse::cxxabi::stack_guard () noexcept -> u64
 Read the active kernel-wide stack-protector guard value.

Detailed Description

minimal cxxabi implementation

SPDX-License-Identifier: Apache-2.0

Function Documentation

◆ declscope()

declscope ( C )

Global stack-protector guard value read by every -fstack-protector function prologue/epilogue.

◆ ssp_init()

void zxfoundation::base::cxxrtse::cxxabi::ssp_init ( )
exportnoexcept

Install the kernel-wide stack-protector guard entropy.

Note
One value is computed once on the BSP and used kernel-wide; APs do not recompute it. This is what makes the guard migration-safe across CPUs (see the __stack_chk_guard rationale above).

◆ stack_guard()

auto zxfoundation::base::cxxrtse::cxxabi::stack_guard ( ) ->u64
nodiscardexportnoexcept

Read the active kernel-wide stack-protector guard value.

Returns
The current __stack_chk_guard.