Skip to content

[libc++] std::unreachable should probably trap in some hardening modes #67732

@ldionne

Description

@ldionne

I am not certain which modes yet, but since std::unreachable invokes UB and we want to catch UB, it would make sense to guarantee a trap there when we are in some hardening modes (e.g. certainly in the debug mode).

Metadata

Metadata

Assignees

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