From ee81e8b3df919aaedfff995508e38f880e0ed3aa 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 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213667 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/asan/TestCases/Windows/dll_seh.cc | 2 +- test/asan/TestCases/Windows/seh.cc | 2 +- test/asan/TestCases/Windows/throw_catch.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/asan/TestCases/Windows/dll_seh.cc b/test/asan/TestCases/Windows/dll_seh.cc index b706eee54..62ec055c4 100644 --- a/test/asan/TestCases/Windows/dll_seh.cc +++ b/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/test/asan/TestCases/Windows/seh.cc b/test/asan/TestCases/Windows/seh.cc index 8730dde28..1fa1055e4 100644 --- a/test/asan/TestCases/Windows/seh.cc +++ b/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/test/asan/TestCases/Windows/throw_catch.cc b/test/asan/TestCases/Windows/throw_catch.cc index e60f57dca..5313d25b2 100644 --- a/test/asan/TestCases/Windows/throw_catch.cc +++ b/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.11.4.GIT