[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:10:02 PDT 2024


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

Yeah, we shouldn't have any %clang_cl_asan in the top level testscases directory

Switch this to %clangxx_asan, that should work fine everywhere (but on mingw it runs `clang++`)

I _think_ this should be `%clangxx_asan -O0 %s -o %t`, but you should probably copy one the other examples of a `%clangxx_asan` line in the TestCases folder.

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


More information about the llvm-commits mailing list