[compiler-rt] r275491 - [compiler-rt] Fix missing argument in asan unittest

Etienne Bergeron via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 15:16:31 PDT 2016


Author: etienneb
Date: Thu Jul 14 17:16:31 2016
New Revision: 275491

URL: http://llvm.org/viewvc/llvm-project?rev=275491&view=rev
Log:
[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

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc?rev=275491&r1=275490&r2=275491&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc Thu Jul 14 17:16:31 2016
@@ -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>




More information about the llvm-commits mailing list