[compiler-rt] r245079 - Move ASAN_OPTIONS setting from compile command to run command, fixes test on posix

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 11:29:02 PDT 2015


Author: rnk
Date: Fri Aug 14 13:29:00 2015
New Revision: 245079

URL: http://llvm.org/viewvc/llvm-project?rev=245079&view=rev
Log:
Move ASAN_OPTIONS setting from compile command to run command, fixes test on posix

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

Modified: compiler-rt/trunk/test/asan/TestCases/heavy_uar_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/heavy_uar_test.cc?rev=245079&r1=245078&r2=245079&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/heavy_uar_test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/heavy_uar_test.cc Fri Aug 14 13:29:00 2015
@@ -1,5 +1,5 @@
-// RUN: %env_asan_opts=detect_stack_use_after_return=1 %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
-// RUN: %env_asan_opts=detect_stack_use_after_return=1 %clangxx_asan -O2 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O0 %s -o %t && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_asan -O2 %s -o %t && %env_asan_opts=detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s
 // XFAIL: arm-linux-gnueabi,win32
 
 // FIXME: Fix this test under GCC.




More information about the llvm-commits mailing list