Author: Vitaly Buka
Date: 2026-10-10T23:45:50Z
New Revision: a0d6f0558a9325ba8b1619d33e1115c5b07c783f

URL: 
https://github.com/llvm/llvm-project/commit/a0d6f0558a9325ba8b1619d33e1115c5b07c783f
DIFF: 
https://github.com/llvm/llvm-project/commit/a0d6f0558a9325ba8b1619d33e1115c5b07c783f.diff

LOG: [clang-repl] Mark global-dtor.cpp and value-print-temporaries.cpp 
unsupported under ASan (#230870)

These tests are flaky on x86_64 Linux ASan bots with `out of range of
Delta32
fixup` JITLink errors, similar to #102858, #135401, and #150242.

This likely happens because `InProcessMemoryManager` maps each
incremental
module with a separate `mmap` call, and depending on the address space
layout
some allocations appear to end up on opposite sides of ASan's large
allocator
reservation (> 2 GiB apart).

Assisted-by: Gemini

Added: 
    

Modified: 
    clang/test/Interpreter/global-dtor.cpp
    clang/test/Interpreter/value-print-temporaries.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/global-dtor.cpp 
b/clang/test/Interpreter/global-dtor.cpp
index 9cb454b06c171..cd148de672ef1 100644
--- a/clang/test/Interpreter/global-dtor.cpp
+++ b/clang/test/Interpreter/global-dtor.cpp
@@ -4,6 +4,9 @@
 //
 // 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/value-print-temporaries.cpp 
b/clang/test/Interpreter/value-print-temporaries.cpp
index 331a7f7e274f4..772ce69c00c25 100644
--- a/clang/test/Interpreter/value-print-temporaries.cpp
+++ b/clang/test/Interpreter/value-print-temporaries.cpp
@@ -3,6 +3,9 @@
 //
 // 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; }


        
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to