summaryrefslogtreecommitdiff
path: root/test/sanitizer_common/TestCases/Linux/new_delete_test.cc
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-12-23 00:30:51 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-12-23 00:30:51 +0000
commitd86233428832a65ba5b19ff8621eb703c37397b5 (patch)
treec6d377412a35ec98c583e9dee4fac1019bb2d66c /test/sanitizer_common/TestCases/Linux/new_delete_test.cc
parent4d53d6d104c990fb5c2626ddab37a693b6d4f749 (diff)
[Sanitizers] Export aligned new/delete from runtimes.
Summary: Export aligned new/delete to make dynamic runtimes work again. Remove all valid new/delete cases from ASan test, there's a test in common for that. Reviewers: eugenis Subscribers: srhines, kubamracek, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D41548 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@321394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/sanitizer_common/TestCases/Linux/new_delete_test.cc')
-rw-r--r--test/sanitizer_common/TestCases/Linux/new_delete_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/sanitizer_common/TestCases/Linux/new_delete_test.cc b/test/sanitizer_common/TestCases/Linux/new_delete_test.cc
index f6644aa42..5e5346a08 100644
--- a/test/sanitizer_common/TestCases/Linux/new_delete_test.cc
+++ b/test/sanitizer_common/TestCases/Linux/new_delete_test.cc
@@ -1,8 +1,8 @@
// RUN: %clangxx -std=c++1z -faligned-allocation -O0 %s -o %t && %run %t
// RUN: %clangxx -std=c++1z -faligned-allocation -fsized-deallocation -O0 %s -o %t && %run %t
-// ubsan does not intercept new/delete, adnroid is to be fixed.
-// UNSUPPORTED: ubsan,android
+// ubsan does not intercept new/delete.
+// UNSUPPORTED: ubsan
// Check that all new/delete variants are defined and work with supported
// sanitizers. Sanitizer-specific failure modes tests are supposed to go to
@@ -11,7 +11,7 @@
#include <cstddef>
// Define all new/delete to do not depend on the version provided by the
-// plaform. The implementation is provided by the sanitizer anyway.
+// platform. The implementation is provided by the sanitizer anyway.
namespace std {
struct nothrow_t {};