[compiler-rt] r207417 - [asan] fix a test

Kostya Serebryany kcc at google.com
Mon Apr 28 06:19:00 PDT 2014


Author: kcc
Date: Mon Apr 28 08:18:59 2014
New Revision: 207417

URL: http://llvm.org/viewvc/llvm-project?rev=207417&view=rev
Log:
[asan] fix a test

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/odr-violation.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/odr-violation.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/odr-violation.cc?rev=207417&r1=207416&r2=207417&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/odr-violation.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/odr-violation.cc Mon Apr 28 08:18:59 2014
@@ -1,7 +1,6 @@
-// RUN: %clangxx_asan %s %t.so -Wl,-R. -o %t
-//
 // Different size: detect a bug if detect_odr_violation>=1
 // RUN: %clangxx_asan -DBUILD_SO=1 -fPIC -shared %s -o %t.so
+// RUN: %clangxx_asan %s %t.so -Wl,-R. -o %t
 // RUN: ASAN_OPTIONS=detect_odr_violation=1 not %t 2>&1 | FileCheck %s
 // RUN: ASAN_OPTIONS=detect_odr_violation=2 not %t 2>&1 | FileCheck %s
 // RUN: ASAN_OPTIONS=detect_odr_violation=0     %t 2>&1 | FileCheck %s --check-prefix=DISABLED





More information about the llvm-commits mailing list