From 90bb050c5404011ba8ef70bff460991de735816a Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Fri, 20 Mar 2015 20:45:42 +0000 Subject: [PATCH] [asan] update the sized_delete_test following the change of clang flags in r232788. llvm-svn: 232845 --- compiler-rt/test/asan/TestCases/Linux/sized_delete_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/TestCases/Linux/sized_delete_test.cc b/compiler-rt/test/asan/TestCases/Linux/sized_delete_test.cc index 1ce610f1b88c..784dcb4a71af 100644 --- a/compiler-rt/test/asan/TestCases/Linux/sized_delete_test.cc +++ b/compiler-rt/test/asan/TestCases/Linux/sized_delete_test.cc @@ -1,4 +1,4 @@ -// RUN: %clangxx_asan -Xclang -fdefine-sized-deallocation -Xclang -fsized-deallocation -O0 %s -o %t +// RUN: %clangxx_asan -fsized-deallocation -O0 %s -o %t // RUN: not %run %t scalar 2>&1 | FileCheck %s -check-prefix=SCALAR // RUN: ASAN_OPTIONS=new_delete_type_mismatch=1 not %run %t scalar 2>&1 | FileCheck %s -check-prefix=SCALAR // RUN: not %run %t array 2>&1 | FileCheck %s -check-prefix=ARRAY @@ -6,6 +6,7 @@ // RUN: ASAN_OPTIONS=new_delete_type_mismatch=0 %run %t scalar // RUN: ASAN_OPTIONS=new_delete_type_mismatch=0 %run %t array +// FIXME: the following two lines are not true after r232788. // Sized-delete is implemented with a weak delete() definition. // Weak symbols are kind of broken on Android. // XFAIL: android, asan-dynamic-runtime