[compiler-rt] r236165 - [UBSan] Disable vptr.cpp on Darwin again.

Alexey Samsonov vonosmas at gmail.com
Wed Apr 29 14:51:23 PDT 2015


Author: samsonov
Date: Wed Apr 29 16:51:23 2015
New Revision: 236165

URL: http://llvm.org/viewvc/llvm-project?rev=236165&view=rev
Log:
[UBSan] Disable vptr.cpp on Darwin again.

Modified:
    compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp

Modified: compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp?rev=236165&r1=236164&r2=236165&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp Wed Apr 29 16:51:23 2015
@@ -24,6 +24,8 @@
 // RUN: echo "vptr_check:S" > %t.loc-supp
 // RUN: UBSAN_OPTIONS="suppressions='%t.loc-supp'" not %run %t x- 2>&1 | FileCheck %s --check-prefix=CHECK-LOC-SUPPRESS
 
+// FIXME: The test still fails on Darwin
+// XFAIL: darwin
 // REQUIRES: stable-runtime
 #include <new>
 #include <assert.h>
@@ -163,4 +165,5 @@ int access_p(T *p, char type) {
     (void)static_cast<T*>(reinterpret_cast<S*>(p));
     return 0;
   }
+  return 0;
 }





More information about the llvm-commits mailing list