[libcxx-commits] [libcxx] DRAFT [libc++][hardening] In production hardening modes, trap rather than abort (PR #78561)
Konstantin Varlamov via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jan 19 00:48:34 PST 2024
================
@@ -90,55 +124,187 @@ struct AssertionInfoMatcher {
std::size_t found_at = got_msg.find(msg_);
if (found_at == std::string_view::npos)
return false;
- return found_at == 0 && got_msg.size() == msg_.size();
+ // Allow any match
+ return true;
----------------
var-const wrote:
(I think I remember -- I probably wanted to be able to match the message without parsing the full regex format)
https://github.com/llvm/llvm-project/pull/78561
More information about the libcxx-commits
mailing list