summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtienne Bergeron <etienneb@google.com>2016-07-14 22:16:31 +0000
committerEtienne Bergeron <etienneb@google.com>2016-07-14 22:16:31 +0000
commite673d2602f497928de9f33608297d6ed7ff121a1 (patch)
treec1b256904b9fd6f928168b107fad28ece75cd681
parent89b4df6a6fb65f44d6633ac4d169756a49fe466e (diff)
downloadcompiler-rt-e673d2602f497928de9f33608297d6ed7ff121a1.tar.gz
[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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@275491 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/asan/TestCases/Windows/dll_seh.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/Windows/dll_seh.cc b/test/asan/TestCases/Windows/dll_seh.cc
index 4acf76d18..0962138cb 100644
--- a/test/asan/TestCases/Windows/dll_seh.cc
+++ b/test/asan/TestCases/Windows/dll_seh.cc
@@ -1,10 +1,10 @@
// RUN: %clang_cl_asan -O0 %p/dll_host.cc -Fe%t
//
// Check both -GS and -GS- builds:
-// RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
+// RUN: %clang_cl_asan -GS -LD -O0 %s -Fe%t.dll
// RUN: %run %t %t.dll
//
-// RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
+// RUN: %clang_cl_asan -GS- -LD -O0 %s -Fe%t.dll
// RUN: %run %t %t.dll
#include <windows.h>