[clang] [clang-repl] Re-enable Interpreter tests under ASan (PR #230880)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Sat Oct 10 19:37:34 PDT 2026
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/230880
Re-enable the `clang-repl` tests that were previously marked
`UNSUPPORTED: asan` due to `Delta32` relocation overflows (#102858,
#135401, #150242).
Assisted-by: Gemini
>From 92ef8fecccdc4897ec065f6dc4983c2ddfa09b59 Mon Sep 17 00:00:00 2001
From: Vitaly Buka <vitalybuka at google.com>
Date: Sat, 10 Oct 2026 19:37:22 -0700
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia?=
=?UTF-8?q?l=20version?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Created using spr 1.3.7
---
clang/test/Interpreter/const.cpp | 3 ---
clang/test/Interpreter/global-dtor.cpp | 3 ---
clang/test/Interpreter/inline-virtual.cpp | 3 ---
clang/test/Interpreter/pretty-print.cpp | 2 --
clang/test/Interpreter/value-print-temporaries.cpp | 3 ---
5 files changed, 14 deletions(-)
diff --git a/clang/test/Interpreter/const.cpp b/clang/test/Interpreter/const.cpp
index cadd446b7504f..04e0b751429de 100644
--- a/clang/test/Interpreter/const.cpp
+++ b/clang/test/Interpreter/const.cpp
@@ -1,9 +1,6 @@
// see https://github.com/llvm/llvm-project/issues/68092
// XFAIL: host={{.*}}-windows-msvc
-// The test is flaky with asan https://github.com/llvm/llvm-project/issues/102858.
-// UNSUPPORTED: asan
-
// RUN: cat %s | clang-repl | FileCheck %s
// RUN: cat %s | clang-repl -Xcc -O2 | FileCheck %s
diff --git a/clang/test/Interpreter/global-dtor.cpp b/clang/test/Interpreter/global-dtor.cpp
index cd148de672ef1..9cb454b06c171 100644
--- a/clang/test/Interpreter/global-dtor.cpp
+++ b/clang/test/Interpreter/global-dtor.cpp
@@ -4,9 +4,6 @@
//
// RUN: cat %s | clang-repl | FileCheck %s
-// The test is flaky with ASan: https://github.com/llvm/llvm-project/issues/102858
-// UNSUPPORTED: asan
-
extern "C" int printf(const char *, ...);
struct D { float f = 1.0; D *m = nullptr; D(){} ~D() { printf("D[f=%f, m=0x%llx]\n", f, reinterpret_cast<unsigned long long>(m)); }} d;
diff --git a/clang/test/Interpreter/inline-virtual.cpp b/clang/test/Interpreter/inline-virtual.cpp
index 3790c110af09d..a2aa202d15ba1 100644
--- a/clang/test/Interpreter/inline-virtual.cpp
+++ b/clang/test/Interpreter/inline-virtual.cpp
@@ -1,8 +1,5 @@
// REQUIRES: host-supports-jit
//
-// This test is flaky with ASan: https://github.com/llvm/llvm-project/issues/135401
-// UNSUPPORTED: asan
-//
// We disable RTTI to avoid problems on Windows for non-RTTI builds of LLVM
// where the JIT cannot find ??_7type_info@@6B at .
// RUN: cat %s | clang-repl -Xcc -fno-rtti -Xcc -fno-sized-deallocation \
diff --git a/clang/test/Interpreter/pretty-print.cpp b/clang/test/Interpreter/pretty-print.cpp
index 777d809873203..be882ac85cc7e 100644
--- a/clang/test/Interpreter/pretty-print.cpp
+++ b/clang/test/Interpreter/pretty-print.cpp
@@ -1,7 +1,5 @@
// RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
// RUN: 'auto r1 = printf("i = %d\n", i);' | FileCheck --check-prefix=CHECK-DRIVER %s
-// The test is flaky with asan https://github.com/llvm/llvm-project/pull/148701.
-// UNSUPPORTED: asan
// CHECK-DRIVER: i = 10
// RUN: cat %s | clang-repl -Xcc -std=c++11 -Xcc -fno-delayed-template-parsing | FileCheck %s
extern "C" int printf(const char*,...);
diff --git a/clang/test/Interpreter/value-print-temporaries.cpp b/clang/test/Interpreter/value-print-temporaries.cpp
index 772ce69c00c25..331a7f7e274f4 100644
--- a/clang/test/Interpreter/value-print-temporaries.cpp
+++ b/clang/test/Interpreter/value-print-temporaries.cpp
@@ -3,9 +3,6 @@
//
// RUN: cat %s | clang-repl | FileCheck %s
-// The test is flaky with ASan: https://github.com/llvm/llvm-project/issues/102858
-// UNSUPPORTED: asan
-
int Dtors = 0;
struct S { ~S() { ++Dtors; } };
int f(S) { return 42; }
More information about the cfe-commits
mailing list