summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2014-02-10 08:34:46 +0000
committerAlexey Samsonov <samsonov@google.com>2014-02-10 08:34:46 +0000
commitdce6dd9d29649583b6a35c56992a887fc860f5f2 (patch)
treef1f3ef2e95623877657ef6680cde1d8c0ab209f2 /compiler-rt
parentc75ef739a14e47580df11d1dc2d02434cd0f53ca (diff)
downloadbcm5719-llvm-dce6dd9d29649583b6a35c56992a887fc860f5f2.tar.gz
bcm5719-llvm-dce6dd9d29649583b6a35c56992a887fc860f5f2.zip
[TSan] Fix mismatched mangled names in operator delete interceptors
llvm-svn: 201069
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_interceptors.cc4
1 files 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 d390d102b36..b080259f9c1 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
OpenPOWER on IntegriCloud