From 9e270c64a7319929da2b92920a91136fd9e2df43 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 12 May 2023 18:46:43 -0700 Subject: [PATCH] [test][clang-repl] Disable test incompatible with msan --- clang/test/Interpreter/simple-exception.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/test/Interpreter/simple-exception.cpp b/clang/test/Interpreter/simple-exception.cpp index 886b8ff..8741886 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; } -- 2.7.4