[all-commits] [llvm/llvm-project] ced032: [CMake] Enforce LLVM_ENABLE_UNWIND_TABLES

Luís Marques via All-commits all-commits at lists.llvm.org
Mon Mar 6 04:15:02 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ced0327dd4a380e1702dccbb4072fd99b201e22c
      https://github.com/llvm/llvm-project/commit/ced0327dd4a380e1702dccbb4072fd99b201e22c
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2023-03-06 (Mon, 06 Mar 2023)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [CMake] Enforce LLVM_ENABLE_UNWIND_TABLES

In D61448 the cmake option `LLVM_ENABLE_UNWIND_TABLES` was added.
Despite the name suggesting that the option enables unwind tables, that
patch only uses it to disable them. That makes a difference for
architectures where unwind tables aren't enabled by default. The lack of
unwind tables impacts backtraces and the current handling of the option
doesn't allow enabling them. This patch makes an ON value of
`LLVM_ENABLE_UNWIND_TABLES` actually enable unwind tables.

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




More information about the All-commits mailing list