[compiler-rt] [ASan] Enable __SANITIZER_DISABLE_CONTAINER_OVERFLOW__ tests (PR #181721)

Dan Blackwell via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 16 10:45:18 PST 2026


https://github.com/DanBlackwell created https://github.com/llvm/llvm-project/pull/181721

Now that the corresponding libcxx change has landed, these tests should be passing on some platforms.

This patch re-enables them for all platforms, so that we can see which bots these do not work on and mark them unsupported accordingly.

rdar://167946476

>From 601609c6953793c25f10154301aeaa8cabf10c4b Mon Sep 17 00:00:00 2001
From: Dan Blackwell <dan_blackwell at apple.com>
Date: Mon, 16 Feb 2026 18:36:02 +0000
Subject: [PATCH] [ASan] Enable __SANITIZER_DISABLE_CONTAINER_OVERFLOW__ tests

Now that the corresponding libcxx change has landed, these tests should be passing on some platforms.

This patch re-enables them for all platforms, so that we can see which bots these do not work on and mark them unsupported accordingly.

rdar://167946476
---
 .../test/asan/TestCases/disable_container_overflow_checks.cpp   | 2 --
 compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp | 2 --
 2 files changed, 4 deletions(-)

diff --git a/compiler-rt/test/asan/TestCases/disable_container_overflow_checks.cpp b/compiler-rt/test/asan/TestCases/disable_container_overflow_checks.cpp
index 9e1e4289f0317..585be8bab6876 100644
--- a/compiler-rt/test/asan/TestCases/disable_container_overflow_checks.cpp
+++ b/compiler-rt/test/asan/TestCases/disable_container_overflow_checks.cpp
@@ -11,8 +11,6 @@
 // overflow checks at compile time.
 // RUN: %clangxx_asan -D__SANITIZER_DISABLE_CONTAINER_OVERFLOW__ -O %s -o %t-no-overflow
 // RUN: %run %t-no-overflow 2>&1 | FileCheck --check-prefix=CHECK-NOCRASH %s
-//
-// UNSUPPORTED: true
 
 #include <assert.h>
 #include <stdio.h>
diff --git a/compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp b/compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp
index e14d946f4e810..cb771f5c95639 100644
--- a/compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp
+++ b/compiler-rt/test/asan/TestCases/stack_container_dynamic_lib.cpp
@@ -19,8 +19,6 @@
 // RUN: %clangxx_asan -D__SANITIZER_DISABLE_CONTAINER_OVERFLOW__ %s -c -o %t-main.o
 // RUN: %clangxx_asan -D__SANITIZER_DISABLE_CONTAINER_OVERFLOW__ -o %t %t-main.o %t-object.o %libdl
 // RUN: %run %t 2>&1 | FileCheck --check-prefix=CHECK-NO-CONTAINER-OVERFLOW %s
-//
-// UNSUPPORTED: true
 
 #include <assert.h>
 #include <sanitizer/common_interface_defs.h>



More information about the llvm-commits mailing list