Skip to content

Commit 47ea8f5

Browse files
committedJul 14, 2016
[compiler-rt] Fix missing argument in asan unittest
Summary: Both test have the same command-line. The second test is missing the /GS-. Keep in mind that /GS is on by default. Reviewers: rnk Subscribers: llvm-commits, wang0109, kubabrecka, chrisha Differential Revision: https://reviews.llvm.org/D22339 llvm-svn: 275491
1 parent 6b016c1 commit 47ea8f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎compiler-rt/test/asan/TestCases/Windows/dll_seh.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// RUN: %clang_cl_asan -O0 %p/dll_host.cc -Fe%t
22
//
33
// Check both -GS and -GS- builds:
4-
// RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
4+
// RUN: %clang_cl_asan -GS -LD -O0 %s -Fe%t.dll
55
// RUN: %run %t %t.dll
66
//
7-
// RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
7+
// RUN: %clang_cl_asan -GS- -LD -O0 %s -Fe%t.dll
88
// RUN: %run %t %t.dll
99

1010
#include <windows.h>

0 commit comments

Comments
 (0)
Please sign in to comment.