[compiler-rt] r204319 - Mark this test as 64-bit specific

Alexey Samsonov samsonov at google.com
Thu Mar 20 00:37:45 PDT 2014


Author: samsonov
Date: Thu Mar 20 02:37:45 2014
New Revision: 204319

URL: http://llvm.org/viewvc/llvm-project?rev=204319&view=rev
Log:
Mark this test as 64-bit specific

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/function-sections-are-bad.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/function-sections-are-bad.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/function-sections-are-bad.cc?rev=204319&r1=204318&r2=204319&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/function-sections-are-bad.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/function-sections-are-bad.cc Thu Mar 20 02:37:45 2014
@@ -1,9 +1,11 @@
 // Check that --gc-sections does not throw away (or localize) parts of sanitizer
 // interface.
-// RUN: %clang_asan -m64 %s -Wl,--gc-sections -o %t
-// RUN: %clang_asan -m64 %s -DBUILD_SO -fPIC -o %t-so.so -shared
+// RUN: %clang_asan %s -Wl,--gc-sections -o %t
+// RUN: %clang_asan %s -DBUILD_SO -fPIC -o %t-so.so -shared
 // RUN: %t 2>&1
 
+// REQUIRES: asan-64-bits
+
 #ifndef BUILD_SO
 #include <assert.h>
 #include <dlfcn.h>
@@ -30,7 +32,7 @@ int main(int argc, char *argv[]) {
 
 #else // BUILD_SO
 
-#include <sanitizer/msan_interface.h>
+#include <sanitizer/asan_interface.h>
 extern "C" void call_rtl_from_dso() {
   volatile int32_t x;
   volatile int32_t y = __sanitizer_unaligned_load32((void *)&x);





More information about the llvm-commits mailing list