[llvm] 89a7e42 - [NFC] Disabled few tests with MemoryWithOrigins

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 18:18:15 PDT 2021


Author: Vitaly Buka
Date: 2021-11-04T18:18:03-07:00
New Revision: 89a7e4283be864a93955b6924ff215946522f697

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

LOG: [NFC] Disabled few tests with MemoryWithOrigins

They pass regular MemorySanitizer, but hang with origin
tracking.

Added: 
    

Modified: 
    llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
    llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
    llvm/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll b/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
index be60ec730ff10..e25fd710b5c36 100644
--- a/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
+++ b/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
@@ -3,6 +3,8 @@
 ; XFAIL: arm, cygwin, windows-msvc, windows-gnu
 ; UNSUPPORTED: powerpc64-unknown-linux-gnu
 ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
+; FIXME: Something hangs here.
+; UNSUPPORTED: use_msan_with_origins
 declare i8* @__cxa_allocate_exception(i64)
 declare void @__cxa_throw(i8*, i8*, i8*)
 declare i32 @__gxx_personality_v0(...)

diff  --git a/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll b/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
index d013e704c6066..de516650a7fe1 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
+++ b/llvm/test/ExecutionEngine/OrcLazy/multiple-compile-threads-basic.ll
@@ -1,6 +1,9 @@
 ; RUN: lli -jit-kind=orc-lazy -compile-threads=2 -thread-entry hello %s | FileCheck %s
 ; REQUIRES: thread_support
 ;
+; FIXME: Something hangs here.
+; UNSUPPORTED: use_msan_with_origins
+;
 ; CHECK: Hello
 
 @.str = private unnamed_addr constant [7 x i8] c"Hello\0A\00", align 1

diff  --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 52968ad8436fd..6d06bddecf918 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -399,3 +399,6 @@ def have_ld64_plugin_support():
 
 if config.expensive_checks:
     config.available_features.add('expensive_checks')
+
+if "MemoryWithOrigins" in config.llvm_use_sanitizer:
+    config.available_features.add('use_msan_with_origins')


        


More information about the llvm-commits mailing list