[compiler-rt] Test fixups for MSVC. (PR #109887)
Martin Storsjö via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 02:18:37 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
----------------
mstorsjo wrote:
Don't use an unconditional `/Oy-` here - we run these tests with mingw compilers as well, with arguments replaced with corresponding ones for the GNU style compiler driver - hence substitutions like `%Od` and similar here; see `test/asan/lit.cfg.py`.
https://github.com/llvm/llvm-project/pull/109887
More information about the llvm-commits
mailing list