[libc++/abi] Provide an option to turn on forgiving dynamic_cast when building libc...
authorLouis Dionne <ldionne@apple.com>
Wed, 22 Apr 2020 20:17:58 +0000 (16:17 -0400)
committerLouis Dionne <ldionne@apple.com>
Wed, 22 Apr 2020 20:24:26 +0000 (16:24 -0400)
commite5291c4ae3f7272ca3901d1189d30e23fd578193
treee10099728910d59ea32f90de8727a4f16e48b332
parenta60ca4b4e9b16347ff6c2842b555badffa6c09e3
[libc++/abi] Provide an option to turn on forgiving dynamic_cast when building libc++abi

Instead of the ad-hoc #define _LIBCXX_DYNAMIC_FALLBACK, provide an option
to enable the setting when building libc++abi. Also use the occasion to
rename the option to something slightly more descriptive.

Note that in the future, it would be great to simply remove this option
altogether. However, in the meantime, it seems better to have it be an
official option than something ad-hoc.
libcxx/cmake/caches/Apple.cmake
libcxxabi/CMakeLists.txt
libcxxabi/src/CMakeLists.txt
libcxxabi/src/private_typeinfo.cpp