This test tries to create a 2 GiB std::string, catching the bad_alloc exception if the allocation fails. However, for no-exceptions builds there is no way for the error to be reported, so this crashes with a null pointer dereference.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rG2744c2e29572: [libcxx] Disable failing test for no-exceptions build
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Please add a comment explaining why it's disabled for no-exceptions, and commit. It's far from obvious.