From 74487a7c3227588f94374422ce008bfe1f4d7d7c Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Tue, 22 Jul 2014 15:53:10 +0000 Subject: [PATCH] [ASan/Win tests] Don't generate debug info where it is not needed Otherwise it results in flaky tests llvm-svn: 213667 --- compiler-rt/test/asan/TestCases/Windows/dll_seh.cc | 2 +- compiler-rt/test/asan/TestCases/Windows/seh.cc | 2 +- compiler-rt/test/asan/TestCases/Windows/throw_catch.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Windows/dll_seh.cc b/compiler-rt/test/asan/TestCases/Windows/dll_seh.cc index b706eee..62ec055 100644 --- a/compiler-rt/test/asan/TestCases/Windows/dll_seh.cc +++ b/compiler-rt/test/asan/TestCases/Windows/dll_seh.cc @@ -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 diff --git a/compiler-rt/test/asan/TestCases/Windows/seh.cc b/compiler-rt/test/asan/TestCases/Windows/seh.cc index 8730dde..1fa1055 100644 --- a/compiler-rt/test/asan/TestCases/Windows/seh.cc +++ b/compiler-rt/test/asan/TestCases/Windows/seh.cc @@ -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 diff --git a/compiler-rt/test/asan/TestCases/Windows/throw_catch.cc b/compiler-rt/test/asan/TestCases/Windows/throw_catch.cc index e60f57d..5313d25 100644 --- a/compiler-rt/test/asan/TestCases/Windows/throw_catch.cc +++ b/compiler-rt/test/asan/TestCases/Windows/throw_catch.cc @@ -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 -- 2.7.4