[compiler-rt] Test fixups for MSVC. (PR #109887)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 02:18:40 PDT 2024


================
@@ -1,9 +1,13 @@
 // Repro for the issue #64990: Asan with Windows EH generates __asan_xxx runtime calls without required funclet tokens
-// RUN: %clang_cl_asan %Od %s -EHsc %Fe%t
+// RUN: %clang_cl_asan %Od %if MSVC %{ /Oi %} %s -EHsc %Fe%t
 // RUN: not %run %t 2>&1 | FileCheck %s
 
 // UNSUPPORTED: target={{.*-windows-gnu}}
 
+#if _MSC_VER && !defined(__clang__)
----------------
mstorsjo wrote:

`defined(_MSC_VER)`

https://github.com/llvm/llvm-project/pull/109887


More information about the llvm-commits mailing list