Reexport operator new / delete from libc++abi
authorMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Mar 2017 04:47:19 +0000 (04:47 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Thu, 30 Mar 2017 04:47:19 +0000 (04:47 +0000)
commit87e8e25548d7c17b1e0c9b86b6151dd9d5155c24
tree42e96e14e566a83c24ce79b5e7397e18c506b341
parentf029dcdb98a60837fc70f1c9429b88f7d5599a9f
Reexport operator new / delete from libc++abi

Both libc++ and libc++abi export a weak definition of operator
new/delete. On Darwin, this can often cause dirty __DATA in the
shared cache when having to switch from one to the other. Instead,
libc++ should reexport libc++abi's implementation of these symbols.

Patch by: Ted Kremenek <kremenek@apple.com>

Differential Revision: https://reviews.llvm.org/D30765

llvm-svn: 299054
libcxx/lib/libc++abi2.exp