llvm-project/libcxx/cmake/Modules
Dimitry Andric 328261019f 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
2021-02-15 21:22:12 +01:00
..
CodeCoverage.cmake
DefineLinkerScript.cmake [libc++] Fix eager generator expression in DefineLinkerScript 2020-07-31 11:20:19 -04:00
HandleCompilerRT.cmake [CMake] Passthrough CFLAGS when checking the compiler-rt path 2018-11-14 00:09:26 +00:00
HandleLibCXXABI.cmake Define new/delete in libc++ when using libcxxrt 2021-02-15 21:22:12 +01:00
HandleLibcxxFlags.cmake [libc++] Always generate a __config_site header 2020-06-26 00:47:48 -04:00
HandleOutOfTreeLLVM.cmake [libcxxabi,libunwind] support running tests in standalone mode 2020-10-14 09:10:20 +02:00
MacroEnsureOutOfSourceBuild.cmake