[libcxxabi] Build all of libcxxabi with _LIBCPP_BUILDING_LIBRARY defined
authorMartin Storsjö <martin@martin.st>
Fri, 30 Oct 2020 17:11:23 +0000 (19:11 +0200)
committerMartin Storsjö <martin@martin.st>
Tue, 3 Nov 2020 07:32:52 +0000 (09:32 +0200)
commit9c30bafd59bf1078bbe1c235c7c25bf7e278e2e9
tree02ae63197ff5f751e33e86d30d92fb753c880301
parent7a5184ed951ad38d652d7b3c339f4c6ae7842eeb
[libcxxabi] Build all of libcxxabi with _LIBCPP_BUILDING_LIBRARY defined

Various definitions from libcxx need to be set in the same way
as if building libcxx itself.

Differential Revision: https://reviews.llvm.org/D90476
libcxxabi/CMakeLists.txt
libcxxabi/src/fallback_malloc.cpp
libcxxabi/src/stdlib_exception.cpp
libcxxabi/src/stdlib_new_delete.cpp