RESOLVED FIXED 266396
[CMake] Allow enabling C++ library assertions if supported
https://bugs.webkit.org/show_bug.cgi?id=266396
Summary [CMake] Allow enabling C++ library assertions if supported
Adrian Perez
Reported 2023-12-14 02:30:31 PST
In bug #245692 the built-in lightweight assertions supported by libc++ have been enabled for the Apple ports. We may want to do the same for the ports that use CMake. While at it, consider supporting also GNU libstdc++, which according to https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_macros.html has a similar feature toggled by the _GLIBCXX_ASSERTIONS macro.
Attachments
Adrian Perez
Comment 1 2023-12-14 02:31:53 PST
I've had a half cooked patch for this sitting on a local branch for months, so it's probably better to iron it out a bit and get it in shape for submission =)
Adrian Perez
Comment 2 2023-12-14 02:42:19 PST
EWS
Comment 3 2025-02-14 00:57:39 PST
Committed 290394@main (3b5d8ebc05c0): <https://commits.webkit.org/290394@main> Reviewed commits have been landed. Closing PR #21785 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.