[compiler-rt] r183655 - [ASan] mark ioctl test as xfailing on darwin. remove redundant semicolons

Alexey Samsonov samsonov at google.com
Mon Jun 10 07:17:08 PDT 2013


Author: samsonov
Date: Mon Jun 10 09:17:08 2013
New Revision: 183655

URL: http://llvm.org/viewvc/llvm-project?rev=183655&view=rev
Log:
[ASan] mark ioctl test as xfailing on darwin. remove redundant semicolons

Modified:
    compiler-rt/trunk/lib/asan/asan_interceptors.cc
    compiler-rt/trunk/lib/asan/lit_tests/TestCases/ioctl.cc

Modified: compiler-rt/trunk/lib/asan/asan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interceptors.cc?rev=183655&r1=183654&r2=183655&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_interceptors.cc Mon Jun 10 09:17:08 2013
@@ -176,7 +176,7 @@ INTERCEPTOR(int, sigaction, int signum,
 #elif SANITIZER_POSIX
 // We need to have defined REAL(sigaction) on posix systems.
 DEFINE_REAL(int, sigaction, int signum, const struct sigaction *act,
-    struct sigaction *oldact);
+    struct sigaction *oldact)
 #endif  // ASAN_INTERCEPT_SIGNAL_AND_SIGACTION
 
 #if ASAN_INTERCEPT_SWAPCONTEXT
@@ -381,7 +381,7 @@ INTERCEPTOR(char*, index, const char *st
 DECLARE_REAL(char*, index, const char *string, int c)
 OVERRIDE_FUNCTION(index, strchr);
 #  else
-DEFINE_REAL(char*, index, const char *string, int c);
+DEFINE_REAL(char*, index, const char *string, int c)
 #  endif
 # endif
 #endif  // ASAN_INTERCEPT_INDEX

Modified: compiler-rt/trunk/lib/asan/lit_tests/TestCases/ioctl.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/TestCases/ioctl.cc?rev=183655&r1=183654&r2=183655&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/TestCases/ioctl.cc (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/TestCases/ioctl.cc Mon Jun 10 09:17:08 2013
@@ -4,6 +4,9 @@
 // RUN: %clangxx_asan -O0 -g %s -o %t && %t
 // RUN: %clangxx_asan -O3 -g %s -o %t && %t
 
+// See https://code.google.com/p/address-sanitizer/issues/detail?id=195
+// XFAIL: darwin
+
 #include <assert.h>
 #include <stdlib.h>
 #include <sys/ioctl.h>





More information about the llvm-commits mailing list