[all-commits] [llvm/llvm-project] 631612: Add a cmake flag to turn `llvm_unreachable()` into...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Mar 17 15:21:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6316129e066e0a252430699f2b41706d4808476c
      https://github.com/llvm/llvm-project/commit/6316129e066e0a252430699f2b41706d4808476c
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/docs/CMake.rst
    M llvm/include/llvm/Config/llvm-config.h.cmake
    M llvm/include/llvm/Support/ErrorHandling.h

  Log Message:
  -----------
  Add a cmake flag to turn `llvm_unreachable()` into builtin_trap() when assertions are disabled

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D121750




More information about the All-commits mailing list