From dce6dd9d29649583b6a35c56992a887fc860f5f2 Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Mon, 10 Feb 2014 08:34:46 +0000 Subject: [PATCH] [TSan] Fix mismatched mangled names in operator delete interceptors llvm-svn: 201069 --- compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc index d390d102b360..b080259f9c1a 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc +++ b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc @@ -584,13 +584,13 @@ void operator delete(void *ptr) throw() { SANITIZER_INTERFACE_ATTRIBUTE void operator delete[](void *ptr) throw(); void operator delete[](void *ptr) throw() { - OPERATOR_DELETE_BODY(_ZdlPvRKSt9nothrow_t); + OPERATOR_DELETE_BODY(_ZdaPv); } SANITIZER_INTERFACE_ATTRIBUTE void operator delete(void *ptr, std::nothrow_t const&); void operator delete(void *ptr, std::nothrow_t const&) { - OPERATOR_DELETE_BODY(_ZdaPv); + OPERATOR_DELETE_BODY(_ZdlPvRKSt9nothrow_t); } SANITIZER_INTERFACE_ATTRIBUTE