[libc++] Make libc++ and libc++abi's definitions of operator new be exact copies
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 14 Jun 2023 20:59:45 +0000 (13:59 -0700)
committerLouis Dionne <ldionne.2@gmail.com>
Fri, 16 Jun 2023 13:40:08 +0000 (09:40 -0400)
commitd53cf0fdd1047534e309fb7a27bd25a962be1c83
tree51b33e7e24dfbb29dc2e6d89088903a4351d7547
parent459f495f49a197a042890e1daa0a98cbae892d2b
[libc++] Make libc++ and libc++abi's definitions of operator new be exact copies

This allows mechanically copying any changes made to `operator new`
from libc++ into libc++abi as-is. This is also a step towards
de-duplicating this code entirely.

Differential Revision: https://reviews.llvm.org/D153035
libcxx/src/new.cpp
libcxxabi/src/stdlib_new_delete.cpp