Skip to content

[libc++] Consider enabling fast hardening mode (or extensive) when optimizations are disabled #122925

Open
@ldionne

Description

@ldionne

We can take for granted that someone building with -O0 is doing some kind of debug build and doesn't care too much about performance. So it would probably make sense to enable the fast hardening mode (at least) in that case.

libstdc++ has done this: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112808

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