[clang] 9e270c6 - [test][clang-repl] Disable test incompatible with msan

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Thu May 18 01:24:09 PDT 2023


Author: Vitaly Buka
Date: 2023-05-18T01:24:03-07:00
New Revision: 9e270c64a7319929da2b92920a91136fd9e2df43

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

LOG: [test][clang-repl] Disable test incompatible with msan

Added: 
    

Modified: 
    clang/test/Interpreter/simple-exception.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/Interpreter/simple-exception.cpp b/clang/test/Interpreter/simple-exception.cpp
index 886b8ffd2d701..8741886a0a621 100644
--- a/clang/test/Interpreter/simple-exception.cpp
+++ b/clang/test/Interpreter/simple-exception.cpp
@@ -3,6 +3,11 @@
 // XFAIL for arm, arm64, riscv, or running on Windows.
 // XFAIL: target={{(arm|riscv).*}}, system-windows
 // RUN: cat %s | clang-repl | FileCheck %s
+
+// Incompatible with msan. It passes with -O3 but fail -Oz. Interpreter
+// generates non-instrumented code, which may call back to instrumented.
+// UNSUPPORTED: msan
+
 extern "C" int printf(const char *, ...);
 
 int f() { throw "Simple exception"; return 0; }


        


More information about the cfe-commits mailing list