[compiler-rt] r201069 - [TSan] Fix mismatched mangled names in operator delete interceptors

Alexey Samsonov samsonov at google.com
Mon Feb 10 00:34:46 PST 2014


Author: samsonov
Date: Mon Feb 10 02:34:46 2014
New Revision: 201069

URL: http://llvm.org/viewvc/llvm-project?rev=201069&view=rev
Log:
[TSan] Fix mismatched mangled names in operator delete interceptors

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc?rev=201069&r1=201068&r2=201069&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Mon Feb 10 02:34:46 2014
@@ -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





More information about the llvm-commits mailing list