[compiler-rt] df0ccf6 - [asan] Disable TestCases/Linux/asan_rt_confict_test-2.cpp to fix build

Thurston Dang via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 8 09:16:45 PDT 2025


Author: Thurston Dang
Date: 2025-04-08T16:16:22Z
New Revision: df0ccf6df09b5a067c80519b9adfa2c7dc46a350

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

LOG: [asan] Disable TestCases/Linux/asan_rt_confict_test-2.cpp to fix build

TestCases/Linux/asan_rt_confict_test-2.cpp started failing in https://lab.llvm.org/buildbot/#/builders/66/builds/12265/steps/9/logs/stdio
The only change is "[LLD][ELF] Allow merging XO and RX sections, and add --[no-]xosegment flag (#132412)" (https://github.com/llvm/llvm-project/commit/2c1bdd4a0811af89eb9631935fbd90f13a04eacb). Based on the test case (which deliberately tries to mix static and dynamically linked ASan), I suspect it's actually the test case that needs to be fixed (probably with a different error message check).

This patch disables TestCases/Linux/asan_rt_confict_test-2.cpp to make the buildbots green while I investigate.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Linux/asan_rt_confict_test-2.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Linux/asan_rt_confict_test-2.cpp b/compiler-rt/test/asan/TestCases/Linux/asan_rt_confict_test-2.cpp
index 6328cbb2ce812..38f488197a197 100644
--- a/compiler-rt/test/asan/TestCases/Linux/asan_rt_confict_test-2.cpp
+++ b/compiler-rt/test/asan/TestCases/Linux/asan_rt_confict_test-2.cpp
@@ -5,6 +5,7 @@
 // RUN: %clangxx_asan_static %s %ld_flags_rpath_exe -o %t
 // RUN: not %run %t 2>&1 | FileCheck %s
 
+// UNSUPPORTED: target={{.*}}
 // REQUIRES: asan-dynamic-runtime
 // XFAIL: android
 


        


More information about the llvm-commits mailing list