aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dimitry@andric.com>2021-02-15 18:22:01 +0100
committerDimitry Andric <dimitry@andric.com>2021-02-15 21:22:12 +0100
commit328261019f50a76b11fa625739cbf32ceb2ce2f7 (patch)
treec9c4953ee1553d62d8ca5c7a79f7851c8b7d65a0 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent4d700fb0603e6fbdd6f597443b29414f7e133912 (diff)
downloadllvm-328261019f50a76b11fa625739cbf32ceb2ce2f7.zip
llvm-328261019f50a76b11fa625739cbf32ceb2ce2f7.tar.gz
llvm-328261019f50a76b11fa625739cbf32ceb2ce2f7.tar.bz2
Define new/delete in libc++ when using libcxxrt
Always turn on LIBCXX_ENABLE_NEW_DELETE_DEFINITIONS, if libcxxrt is used as the C++ ABI library, since libcxxrt does not provide the full set ofnew and delete operators. In particular, the aligned versions of these operators are completely missing. This primarily addresses builds on FreeBSD, as this platform uses libcxxrt by default. Also, attempt to provide a FreeBSD.cmake cache file, with hopefully sane settings, partially copied from the Apple.cmake cache file. This needs more work, probably some additions to ci build scripts (although I am not aware of any 'official' FreeBSD build bots). Reviewed By: ldionne, #libc Differential Revision: https://reviews.llvm.org/D96720
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions