[compiler-rt] r218674 - [asan] XFAIL one test on Android.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Sep 30 05:54:32 PDT 2014
Author: eugenis
Date: Tue Sep 30 07:54:32 2014
New Revision: 218674
URL: http://llvm.org/viewvc/llvm-project?rev=218674&view=rev
Log:
[asan] XFAIL one test on Android.
And add a missing return in main, just in case.
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc?rev=218674&r1=218673&r2=218674&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc Tue Sep 30 07:54:32 2014
@@ -1,6 +1,8 @@
// Test that we do not poison the array cookie if the operator new is defined
// inside the class.
// RUN: %clangxx_asan %s -o %t && %run %t
+//
+// XFAIL: android
#include <new>
#include <stdlib.h>
#include <stdint.h>
@@ -31,4 +33,5 @@ int main() {
assert(reinterpret_cast<uintptr_t>(foo) ==
reinterpret_cast<uintptr_t>(Foo::allocated) + sizeof(void*));
*reinterpret_cast<uintptr_t*>(Foo::allocated) = 42;
+ return 0;
}
More information about the llvm-commits
mailing list