r293676 - [windows] [asan] Fix tests failing after 293668.

Marcos Pividori via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 31 11:05:05 PST 2017


Author: mpividori
Date: Tue Jan 31 13:05:05 2017
New Revision: 293676

URL: http://llvm.org/viewvc/llvm-project?rev=293676&view=rev
Log:
[windows] [asan] Fix tests failing after 293668.

Modified:
    cfe/trunk/test/Driver/cl-link.c

Modified: cfe/trunk/test/Driver/cl-link.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-link.c?rev=293676&r1=293675&r2=293676&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-link.c (original)
+++ cfe/trunk/test/Driver/cl-link.c Tue Jan 31 13:05:05 2017
@@ -13,8 +13,9 @@
 // ASAN: link.exe
 // ASAN: "-debug"
 // ASAN: "-incremental:no"
-// ASAN: "{{.*}}clang_rt.asan-i386.lib"
+// ASAN: "{{[^"]*}}clang_rt.asan-i386.lib"
 // ASAN: "{{.*}}clang_rt.asan_cxx-i386.lib"
+// ASAN: "-wholearchive:{{.*}}clang_rt.asan-i386.lib"
 // ASAN: "{{.*}}cl-link{{.*}}.obj"
 
 // RUN: %clang_cl -m32 -arch:IA32 --target=i386-pc-win32 /MD /Tc%s -### -fsanitize=address 2>&1 | FileCheck --check-prefix=ASAN-MD %s




More information about the cfe-commits mailing list