[compiler-rt] Enable ASAN checks for wcscat/wcsncat on Windows, and wcscpy/wcsncpy on all platforms (PR #90909)

Charlie Barto via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 18:13:50 PDT 2024


================
@@ -0,0 +1,51 @@
+// RUN: %clang_cl_asan -Od -Zi %s -Fe%t
----------------
barcharcraz wrote:

Note that when we run our tests with msvc we substitute out common GNU-style command line options for the closest MSVC style ones, which is why it's OK to put stuff like `-o %t` here.

the `%` isn't really a magic character, it's just convention that substitutions target strings that begin with %.

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


More information about the llvm-commits mailing list