From 415baadc64ff31767576da54575260d0e86ca8c6 Mon Sep 17 00:00:00 2001 From: Kostya Kortchinsky Date: Tue, 12 Jun 2018 14:42:40 +0000 Subject: [scudo] Add C++17 aligned new/delete operators support Summary: This CL adds support for aligned new/delete operators (C++17). Currently we do not support alignment inconsistency detection on deallocation, as this requires a header change, but the APIs are introduced and are functional. Add a smoke test for the aligned version of the operators. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D48031 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334505 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/scudo/scudo_allocator.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/scudo/scudo_allocator.h') diff --git a/lib/scudo/scudo_allocator.h b/lib/scudo/scudo_allocator.h index c29edea46..f3234fbc9 100644 --- a/lib/scudo/scudo_allocator.h +++ b/lib/scudo/scudo_allocator.h @@ -115,12 +115,10 @@ typedef ScudoCombinedAllocator