llvm-project/libcxx
Eric Fiselier 3499263c36 [libc++] Add option to disable new/delete overloads when libc++abi provides them.
Summary:
Currently both libc++ and libc++abi provide definitions for operator new/delete. However I believe this is incorrect and that one or the other should offer them.

This patch adds the CMake option `-DLIBCXX_ENABLE_NEW_DELETE_DEFINITIONS` which defaults no `ON` unless `-DLIBCXXABI_ENABLE_NEW_DELETE_DEFINITIONS=ON` is specified.



Reviewers: mclow.lists, mehdi_amini, dexonsmith, danalbert, smeenai, mgorny, rmaprath

Reviewed By: mehdi_amini

Subscribers: cfe-commits

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

llvm-svn: 296802
2017-03-02 19:35:33 +00:00
..
benchmarks improve performance of string::find 2016-12-30 18:01:36 +00:00
cmake Recommit "Split exception.cpp and new.cpp implementation into different files for different runtimes." 2017-02-10 08:57:35 +00:00
docs [libc++] Make _LIBCPP_TYPE_VIS export members 2017-03-02 03:22:18 +00:00
include [libc++] Make _LIBCPP_TYPE_VIS export members 2017-03-02 03:22:18 +00:00
lib [libc++] Make _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS export members 2017-03-02 03:02:50 +00:00
src [libc++] Add option to disable new/delete overloads when libc++abi provides them. 2017-03-02 19:35:33 +00:00
test Remove more usages of REQUIRES-ANY in the test-suite 2017-03-02 02:04:49 +00:00
utils Fix python 3 syntax error in sym_diff 2017-03-02 00:03:01 +00:00
www Update all bug URL's to point to https://bugs.llvm.org/... 2017-02-17 08:37:03 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.clang-format Tweak .clang-format configuration. 2017-01-14 05:43:02 +00:00
.gitignore Implement N4606 optional 2016-10-12 07:46:20 +00:00
CMakeLists.txt [libc++] Add option to disable new/delete overloads when libc++abi provides them. 2017-03-02 19:35:33 +00:00
CREDITS.TXT Added "Michael Park" to `CREDITS.TXT`. 2017-01-07 10:19:24 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00