Skip to content

[libc++] Provide an observe semantic in the hardening mode #122970

Open
@ldionne

Description

@ldionne

Many people would benefit from having a way to turn on hardening without crashing their application when they violate a precondition. Instead, they would want to log the failure and continue. That way, they can enable hardening and gradually fix issues that come up in production, and eventually flip the switch without endangering their stability in production.

This is akin to the observe semantic in Contracts, so we need something like that eventually anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hardeningIssues related to the hardening effortlibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions