This patch is similar to the change in libunwind (D124912) to make sure assertions are enabled in the build if LIBCXXABI_ENABLE_ASSERTIONS is set (which it is by default), when building in RelWithDebInfo or MinSizeRel configurations.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
[libc++abi][CMake] Handle build type RelWithDebInfo configuration similarly to Release
Mention MINSIZEREL as well.
From reading https://github.com/Kitware/CMake/blob/master/Modules/Compiler/GNU.cmake#L58 , I think this makes sense.