[TSan] Fix mismatched mangled names in operator delete interceptors

llvm-svn: 201069
This commit is contained in:
Alexey Samsonov 2014-02-10 08:34:46 +00:00
parent c75ef739a1
commit dce6dd9d29
1 changed files with 2 additions and 2 deletions

View File

@ -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