Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libc++'s debug mode is incompatible with constant initialization #56782

Closed
ldionne opened this issue Jul 28, 2022 · 1 comment
Closed

libc++'s debug mode is incompatible with constant initialization #56782

ldionne opened this issue Jul 28, 2022 · 1 comment
Labels
hardening Issues related to the hardening effort libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Comments

@ldionne
Copy link
Member

ldionne commented Jul 28, 2022

Because we have is_constant_evaluated() in vector() & friends, we end up not registering the container in the global database when constant initialization occurs. See https://reviews.llvm.org/D68365 libcxx/test/std/containers/sequences/vector/constant_initialization.pass.cpp.

@ldionne ldionne added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Jul 28, 2022
@philnik777 philnik777 added the hardening Issues related to the hardening effort label Jul 15, 2023
@ldionne
Copy link
Member Author

ldionne commented Mar 12, 2024

This can be closed since the legacy debug mode has been removed now.

@ldionne ldionne closed this as completed Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hardening Issues related to the hardening effort libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.
Projects
None yet
Development

No branches or pull requests

2 participants