[compiler-rt] [asan][windows] Make tests more flexable (PR #85274)

Charlie Barto via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 16:20:03 PDT 2024


================
@@ -0,0 +1,8 @@
+// RUN: %clang_cl_asan -Od %s -Fe%t /link /WX
+// RUN: %clang_cl_asan -Od %s -Fe%t /link /WX /INFERASANLIBS:DEBUG
+
+// Link with /WX under each configuration to ensure there are
+// no warnings (ex: defaultlib mismatch, pragma detect mismatch)
+// when linking.
+
----------------
barcharcraz wrote:

This is a sorta nop test to identify problems with how the linker picks asan libs. It should work fine if added to main, but maybe won't be that useful, and I'm OK with dropping it.

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


More information about the llvm-commits mailing list