[libcxx-commits] [libcxx] [ASan][libc++] Turn on ASan annotations for short strings (PR #75882)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 16 14:05:57 PST 2024


================
@@ -74,17 +74,11 @@ TEST_CONSTEXPR bool is_string_asan_correct(const std::basic_string<ChrT, TraitsT
   if (TEST_IS_CONSTANT_EVALUATED)
     return true;
 
-  if (!is_string_short(c) || _LIBCPP_SHORT_STRING_ANNOTATIONS_ALLOWED) {
----------------
AdvenamTacet wrote:

Yes, now everything is tested. In that sense, it adds coverage. Yes.

https://github.com/llvm/llvm-project/pull/75882


More information about the libcxx-commits mailing list