diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-03-02 19:35:33 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-03-02 19:35:33 +0000 |
commit | 3499263c360e7643b3776d71a29e18d96f5a951a (patch) | |
tree | 56c1d5c8d672dec1279c97f78ecbf9d02224675a /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 2ee1d90cb903aa1e1c3b3c559284e93188f178a8 (diff) | |
download | bcm5719-llvm-3499263c360e7643b3776d71a29e18d96f5a951a.tar.gz bcm5719-llvm-3499263c360e7643b3776d71a29e18d96f5a951a.zip |
[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
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions