Revert "Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assert...
authorNikita Popov <npopov@redhat.com>
Fri, 18 Mar 2022 08:20:44 +0000 (09:20 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 18 Mar 2022 08:21:53 +0000 (09:21 +0100)
commit112aafcaf425dca901690ca823d25607e5795263
tree529af523867a1ac1cdce06ff82274f12abd6ff23
parentae3e3c636254302cbd740d73522a854cf4dfb893
Revert "Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assertions are disabled"

This reverts commit 6316129e066e0a252430699f2b41706d4808476c.

This was implemented with inverted logic.
llvm/CMakeLists.txt
llvm/docs/CMake.rst
llvm/include/llvm/Config/llvm-config.h.cmake
llvm/include/llvm/Support/ErrorHandling.h