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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jan 16 13:08:55 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) {
----------------
ldionne wrote:

Do I understand correctly that this is where the largest part of test coverage comes from?

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


More information about the libcxx-commits mailing list