diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-09-30 12:54:32 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-09-30 12:54:32 +0000 |
commit | a9d434918e9345909e9b894c0b4e46c420659836 (patch) | |
tree | a37b59e951d6b636ed03d70e2d5eca92f3f6dfd5 /compiler-rt/test/asan/TestCases | |
parent | a891e6d44aee33cf0100eef127afcde5f7acd6e1 (diff) | |
download | bcm5719-llvm-a9d434918e9345909e9b894c0b4e46c420659836.tar.gz bcm5719-llvm-a9d434918e9345909e9b894c0b4e46c420659836.zip |
[asan] XFAIL one test on Android.
And add a missing return in main, just in case.
llvm-svn: 218674
Diffstat (limited to 'compiler-rt/test/asan/TestCases')
-rw-r--r-- | compiler-rt/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc b/compiler-rt/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc index 06c00af4e31..7d44106799a 100644 --- a/compiler-rt/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc +++ b/compiler-rt/test/asan/TestCases/Linux/new_array_cookie_with_new_from_class.cc @@ -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; } |