From: Vitaly Buka Date: Fri, 22 Jul 2016 01:34:12 +0000 (+0000) Subject: fix windows X-Git-Tag: llvmorg-4.0.0-rc1~14537 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60cb0b55c973180f2dcc8733babc231f8e97d00a;p=platform%2Fupstream%2Fllvm.git fix windows llvm-svn: 276378 --- diff --git a/compiler-rt/test/asan/TestCases/use-after-scope-types.cc b/compiler-rt/test/asan/TestCases/use-after-scope-types.cc index e121946..63bc778 100644 --- a/compiler-rt/test/asan/TestCases/use-after-scope-types.cc +++ b/compiler-rt/test/asan/TestCases/use-after-scope-types.cc @@ -1,16 +1,15 @@ // RUN: %clangxx_asan -std=c++11 -O0 -fsanitize-address-use-after-scope %s -o %t -// RUN: export %env_asan_opts=detect_stack_use_after_scope=1 -// RUN: not %run %t 0 2>&1 | FileCheck %s -// RUN: not %run %t 1 2>&1 | FileCheck %s -// RUN: not %run %t 2 2>&1 | FileCheck %s -// RUN: not %run %t 3 2>&1 | FileCheck %s -// RUN: not %run %t 4 2>&1 | FileCheck %s -// RUN: not %run %t 5 2>&1 | FileCheck %s -// RUN: not %run %t 6 2>&1 | FileCheck %s -// RUN: not %run %t 7 2>&1 | FileCheck %s -// RUN: not %run %t 8 2>&1 | FileCheck %s -// RUN: not %run %t 9 2>&1 | FileCheck %s -// RUN: not %run %t 10 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 0 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 1 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 2 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 3 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 4 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 5 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 6 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 7 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 8 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 9 2>&1 | FileCheck %s +// RUN: %env_asan_opts=detect_stack_use_after_scope=1 not %run %t 10 2>&1 | FileCheck %s // RUN: %env_asan_opts=detect_stack_use_after_scope=0 %run %t 11