Skip to content

[libc++] Allow building the dylib with the observe assertion semantic #150487

@ldionne

Description

@ldionne

In #149459, we added assertion semantics (experimentally). One of these semantics is the observe semantic, which requires linking against libc++experimental.a. That means that we currently can't build the dylib itself with the observe semantic, since that would create a cyclic dependency (libc++experimental.a requires the dylib for various things, and libc++.dylib requires libc++experimental.a for the definition of the logging function).

This issue would go away on its own if we made the logging function (and the assertion semantics) non-experimental, because then we'd move the logging function to the dylib.

Metadata

Metadata

Assignees

Labels

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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions