Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assertions are disabled
This re-lands 6316129e after fixing the condition logic. The new flag seems to not be working yet on Windows, where the builtin trap isn't "no return". Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D121750
Loading
Please sign in to comment