[compiler-rt] r213667 - [ASan/Win tests] Don't generate debug info where it is not needed

Timur Iskhodzhanov timurrrr at google.com
Tue Jul 22 08:53:11 PDT 2014


Author: timurrrr
Date: Tue Jul 22 10:53:10 2014
New Revision: 213667

URL: http://llvm.org/viewvc/llvm-project?rev=213667&view=rev
Log:
[ASan/Win tests] Don't generate debug info where it is not needed

Otherwise it results in flaky tests

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc
    compiler-rt/trunk/test/asan/TestCases/Windows/seh.cc
    compiler-rt/trunk/test/asan/TestCases/Windows/throw_catch.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=213667&r1=213666&r2=213667&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_seh.cc Tue Jul 22 10:53:10 2014
@@ -4,7 +4,7 @@
 // build a large project using "clang-cl -fallback -fsanitize=address".
 //
 // RUN: %clang_cl_asan -O0 %p/dll_host.cc -Fe%t
-// RUN: cl -LD -Zi -FS -GS- -c %s -Fo%t.obj
+// RUN: cl -LD -c %s -Fo%t.obj
 // RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll %t.obj
 // RUN: %run %t %t.dll
 

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/seh.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/seh.cc?rev=213667&r1=213666&r2=213667&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/seh.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/seh.cc Tue Jul 22 10:53:10 2014
@@ -3,7 +3,7 @@
 // the rest is built with Clang.  This represents the typical scenario when we
 // build a large project using "clang-cl -fallback -fsanitize=address".
 //
-// RUN: cl -Zi -FS -GS- -c %s -Fo%t.obj
+// RUN: cl -c %s -Fo%t.obj
 // RUN: %clangxx_asan -o %t.exe %s %t.obj
 // RUN: %run %t.exe
 

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/throw_catch.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/throw_catch.cc?rev=213667&r1=213666&r2=213667&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/throw_catch.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/throw_catch.cc Tue Jul 22 10:53:10 2014
@@ -3,7 +3,7 @@
 // the rest is built with Clang.  This represents the typical scenario when we
 // build a large project using "clang-cl -fallback -fsanitize=address".
 //
-// RUN: cl -Zi -FS -c %s -Fo%t.obj
+// RUN: cl -c %s -Fo%t.obj
 // RUN: %clangxx_asan -o %t.exe %s %t.obj
 // RUN: %run %t.exe
 





More information about the llvm-commits mailing list