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

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 2 01:05:06 PDT 2024


================
@@ -1,9 +1,9 @@
-// RUN: %clang_cl_asan %Od %p/dll_host.cpp %Fe%t
-// RUN: %clang_cl_asan -Wno-fortify-source %LD %Od %s %Fe%t.dll
+// RUN: %clang_cl_asan %Od %Oy- %p/dll_host.cpp %Fe%t
+// RUN: %clang_cl_asan %if !MSVC %{ -Wno-fortify-source %} /Oy- %LD %Od %s %Fe%t.dll
----------------
mstorsjo wrote:

This line still has got a literal `/Oy-`, not the substituted form.

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


More information about the llvm-commits mailing list