[libcxx-commits] [libcxx] [llvm] [libcxx] Remove ASan container overflow checks for SSO strings (PR #194208)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 28 05:35:13 PDT 2026


================
@@ -2308,25 +2291,12 @@ private:
     (void)__old_mid;
     (void)__new_mid;
 #  if _LIBCPP_ENABLE_ASAN_CONTAINER_CHECKS_FOR_STRING
-#    if defined(__APPLE__)
-    // TODO: remove after addressing issue #96099 (https://llvm.org/PR96099)
     if (!__is_long())
----------------
philnik777 wrote:

Can you reverse the condition? Seems a bit weird to use an early return now.

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


More information about the libcxx-commits mailing list